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
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.