Problems to update Knoppix
Typing apt-get update in terminal:
Code:
........
W: The repository 'http://debian-knoppix.alioth.debian.org ./ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
knoppix@Microknoppix:~$
and with apt-get upgrade:
Code:
Preparing to unpack .../init-system-helpers_1.29_all.deb ...
Unpacking init-system-helpers (1.29) over (1.24) ...
dpkg: error processing archive /var/cache/apt/archives/init-system-helpers_1.29_all.deb (--unpack):
trying to overwrite '/usr/share/man/man8/update-rc.d.8.gz', which is also in package sysv-rc 2:2.88dsf-53.2knoppix0
Processing triggers for libc-bin (2.22-5) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/init-system-helpers_1.29_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
knoppix@Microknoppix:~$
:confused:
What is wrong: IMHO, nothing
Quote:
Originally Posted by
fossiili
What's wrong with apt-get and Knoppix? I am new with the recent Knoppix, please let me know :confused:
IMHO, nothing is wrong with Knoppix and apt-get. As to doing apt-get upgrade, that should IMHO be considered potentially dangerous in most Debian configurations. It may go well, but quite often, it doesn't. There are many reasons why. One of the most important is that in practice, a running system will often have some packages not native to the release mixed in - like Knoppix.
I have found one safe way to proceed, "everywhere Debian", to be
Code:
sudo apt-get update && sudo apt-get -s upgrade
Then I get a report of the upgradable packages. In some cases, I will consider the risk of trouble so small that I proceed with the ordinary upgrade, but most often, I will start with some selected, important packages. I'm not sure how much is won with a huge upgrade within a Knoppix release, even if it should be possible. Like now with Debian 8.3 -> 8.4. I rather do the absolutely necessary updates and wait for the next Knoppix release, and that has worked fairly well over the years.