Klaus Knopper answers your Linux questions
Ask Klaus
Klaus addresses problems with Wheezy updates, Adobe Flash, dial-up settings, and mountpoint dates.
Wheezing Wheezy
Hi Klaus: In Knoppix 7.5.0, all of a sudden there is an error message that appears every time I want to install or update a software package:
sudo apt-get update sudo apt-get install <packagename> Reading package lists... Done E: The value 'wheezy' is invalid for APT::Default-Release as such a release is not available in the sources
How can I fix this?
Knoppix is based on Debian GNU/Linux. Shortly after the release of Knoppix 7.5.0, Debian released the new "Jessie" version and dropped the name "Wheezy" for the previous "stable" release. To avoid problems with upgrades, I had explicitly written "Wheezy" as the repository branch for Knoppix version 7.5.0 in the config file for software manager apt-get
, which is now causing the error message because of the disappeared software branch.
It's easy to repair: Just edit /etc/apt/apt.conf.d/00knoppix
:
sudo leafpad /etc/apt/apt.conf.d/00knoppix
and change the line
APT::Default-Release "wheezy";
to one of the following:
APT::Default-Release "jessie"; APT::Default-Release "stable";
Save the file, then rerun the software catalog update,
sudo apt-get update
and the problem should be gone.
Flashback
Dear Sir, I installed Knoppix 7.5 from the Linux Magazine April 2015 DVD to a USB dongle. My PC with Windows 8.1 is an Intel NUC. Knoppix works very well – Windows 8.1 is terrible; unfortunately, I need it for some things I will use with the NUC.
I hope to use Knoppix to surf the Internet. Unfortunately, many times (e.g., in Facebook), you meet with videos that need Adobe Flash. Even if I use the Chromium browser, the videos do not work.
The Knoppix 7.5 published in Linux Magazine seems to be very difficult to get running with Adobe Flash or something like that. Could you please tell me how to solve that problem? Or is there some forum or mailing list where I could present this question?
Yours sincerely,
Heikki Pesonen, Oulu, Finland
For installing the proprietary Flash player browser plugin, the Debian package flashplugin-nonfree is needed. During installation, it downloads an archive containing the plugin from the vendor's website and extracts the software to the system-wide plugin repository. Installation of the flashplugin-nonfree package can be triggered by selecting Knoppix | install components. You'll see the Flash package listed in the Install Software dialog (Figure 1).
With Knoppix 7.5, you may have hit the problem mentioned in the previous question that Debian just released "Jessie" as the "stable" branch, and the "Wheezy" branch that Knoppix used as its former base is now gone. You will see this when trying to install the plugin manually by
sudo apt-get update sudo apt-get install flashplugin-nonfree
Using the install components menu item (Figure 2) will tell you that the Flash installation failed for the same reason. The recipe in the previous question – setting the default base to "Jessie" or "stable" – will fix that problem.
Personally, I try to get along without the proprietary Flash plugin, and most videos today are playable with the standard HTML5 embedded video formats (VP8/WebM), which most browsers can play without additional plugins. The proprietary Flash plugin has a bad history of being vulnerable and unstable, potentially compromising the browser's security. In Knoppix, the NoScript plugin will let you chose to activate the plugin only for specific websites and ask for permission to do so as an additional layer of security. Watch out for the corresponding browser messages: The NoScript logo near the address field lets you change the settings at any time.
Dial-Up Setup
Dear Sir: While I do not have WiFi at home, I can access WiFi wherever it is offered. I currently use DSL or dial-up at home. I am wondering how to set up either with Knoppix 7.5.
Also, I have disks from previous issues that contain programs that I would like to use. Programs such as RawTherapee, FlightGear, Gramps, and so on. What is the best way of taking them from the disk or downloading from the Internet and making them usable with Knoppix 7.5?
Thanks, Gary
DSL and dial-up setups are somewhat more complicated than DHCP with WiFi or LAN. Additionally, how well they are supported and how configurable may depend on the manufacturer's specifications for your network device. When plugging in the device, check the NetworkManager menu for settings options. If the device doesn't appear, it might not be supported.
Some DSL boxes can be set to handle authentication and autoconnect on their own, and they can handle connected computers just like DHCP clients, as in a LAN network. If your DSL router has that option, it may be the easiest way to get connected: Just activate the settings in the router's web interface. You can find some hints about DSL and dial-up setups for Ubuntu at the Debian Admin site [1], but using the New connection dialog in NetworkManager may help you find the adapter for configuration (right mouse button over the Connection applet).
About program installations: Assuming you have already transferred Knoppix to a USB flash disk successfully and your computer has Internet access, you can update the software database, search for programs and install packages with the commands in Table 1, prefixed by sudo
so you have write access to system directories.
Table 1
Package Installation Commands
Command | Effect |
---|---|
apt-get update |
Update software package database |
apt-cache search <keyword> |
Search for packages matching given keywords |
apt-cache show <packagename> |
Show details of package |
apt-get install <packagename> |
Install or update package and dependencies |
apt-get install -t unstable <packagename> |
Install or update package and its dependencies from the "unstable" Debian branch, which may contain newer versions |
apt-get --purge remove <packagename> |
Remove package, including its configuration files and data |
The procedure of installing the FlightGear simulator would be
sudo apt-get update sudo apt-get install -t unstable flightgear
which will download 1GB of compressed software packages (37 packages with dependencies; I counted), which will decompress to 2GB, so you will need a minimum of 3GB free space on the second (Linux-formatted) partition of your Knoppix USB flash disk. After installation, you can free up the Apt tool's download cache by doing
sudo apt-get clean
to get 1GB back.
Of course, you can also use the graphical Synaptic tool for this instead of the Apt command-line interface.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.