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
-
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.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.
-
Plasma Desktop 6.1.4 Release Includes Improvements and Bug Fixes
The latest release from the KDE team improves the KWin window and composite managers and plenty of fixes.
-
Manjaro Team Tests Immutable Version of its Arch-Based Distribution
If you're a fan of immutable operating systems, you'll be thrilled to know that the Manjaro team is working on an immutable spin that is now available for testing.