PDA

View Full Version : upgrade linux



plazzmex
12-21-2005, 10:11 PM
I have knoppix 4.0.2 CD
I have installed the knoppix to hard disk with 'knoppix-installer',
And when i readed this documentation : http://www.bytebot.net/geekdocs/debian-knoppix.html
in the bottom of the page is writed:

If this is your first Debian system, go to the website and read some documents. Google as always is your best friend, and your LUGs will be willing to help you. But let's get started on a few important things first:

* apt-get update will get the list of the latest available packages for you that are available (assuming you have an Internet connection) in your sources list.
now, when i do the apt-get update (in root shell)
This what i see:

Err http://ndiswrapper.sourceforge.net ./ Packages
404 Not Found
Hit http://ftp.de.debian.org stable/main Packages
Hit http://ftp.de.debian.org stable/main Release
Hit http://ftp.de.debian.org stable/contrib Packages
Err http://kanotix.com ./ Packages
404 Not Found
Ign http://kanotix.com ./ Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/main Release
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/contrib Release
Hit http://ftp.de.debian.org stable/contrib Release
Hit http://ftp.de.debian.org stable/non-free Packages
Hit http://ftp.de.debian.org stable/non-free Release
Hit http://ftp.de.debian.org testing/main Packages
Hit http://ftp.de.debian.org testing/main Release
Hit http://ftp.de.debian.org testing/contrib Packages
Hit http://ftp.de.debian.org testing/contrib Release
Hit http://ftp.de.debian.org testing/non-free Packages
Hit http://ftp.de.debian.org testing/non-free Release
Hit http://ftp.de.debian.org unstable/main Packages
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/non-free Release
Hit http://ftp.de.debian.org unstable/main Release
Hit http://ftp.de.debian.org unstable/contrib Packages
Hit http://ftp.de.debian.org unstable/contrib Release
Hit http://ftp.de.debian.org unstable/non-free Packages
Hit http://ftp.de.debian.org unstable/non-free Release
Hit http://ftp.de.debian.org ../project/experimental/main Packages
Hit http://ftp.de.debian.org ../project/experimental/main Release
Ign http://ndiswrapper.sourceforge.net ./ Release
Hit http://ftp.de.debian.org ../project/experimental/contrib Packages
Hit http://ftp.de.debian.org ../project/experimental/contrib Release
Hit http://ftp.de.debian.org ../project/experimental/non-free Packages
Hit http://ftp.de.debian.org ../project/experimental/non-free Release
Failed to fetch http://ndiswrapper.sourceforge.net/debian/./Packages.gz 404 Not Found
Failed to fetch http://kanotix.com/files/debian/./Packages.gz 404 Not Found
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

And I see here deutch servers. And I hope that i dont need them...
ans When after that i type 'apt-get -s dist-upgrade'
i see:

Reading Package Lists...
Building Dependency Tree...
The following packages will be REMOVED:
akregator ark dbus-qt-1 imlib1 isdn-config jackd juk k3b k3blibs kaddressbook
kaffeine kalarm kamera kandy kappfinder karm kasteroids kate kate-plugins
katomic kbattleship kcalc kcharselect kcontrol kcron kdat kde-i18n-de
kde-i18n-es kde-i18n-fr kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl
kde-i18n-ru kde-i18n-tr kde-services-knoppix kdeaddons-kfile-plugins
kdeadmin-kfile-plugins kdebase kdebase-bin kdebase-kio-plugins kdebluetooth
kdegraphics-kfile-plugins kdelibs-bin kdelibs4 kdemultimedia-kfile-plugins
kdenetwork-kfile-plugins kdepasswd kdepim-kfile-plugins kdepim-kio-plugins
kdeprint kdesktop kdessh kdf kdiff3 kdm kfax kfind kfloppy kget kghostview
kgpgcertmanager khelpcenter khexedit kicker kiconedit klaptopdaemon klipper
kmahjongg kmail kmailcvt kmenuedit kmix knode knotes kolourpaint konq-plugins
konqueror konqueror-nsplugins konsole konsolekalendar kontact kooka
korganizer kpackage kpager kpersonalizer kpf kpilot kppp krdc kreversi krfb
ksmserver ksnapshot ksokoban ksplash kstars ksync ksysguard ksysv kteatime
ktimer ktip ktnef ktuberling kuickshow kuser kvdr kview kviewshell
kwifimanager kwin kxconfig libarts1 libcapi20-2 libexif-gtk4 libfam0c102
libgsmme1c102 libkcal2a libkdeedu1 libkdegames1 libkdenetwork2 libkdepim1
libkleopatra0a libkonq4 libkpimexchange1 libkpimidentities1 libkscan1
libksieve0 libktnef1 libmimelib1a libmodplug0 libmusicbrainz4 libntfs5
libopenexr2 libpng10-0 libsigc++-1.2-5c102 libtunepimp2 libwxgtk2.4
libzipios++0c102 lisa ndiswrapper-modules-2.6.12 qtparted secpolicy vimpart
The following NEW packages will be installed:
apache2-common apache2-mpm-prefork foomatic-db-gutenprint g++-4.0 gdk-imlib11
ijsgutenprint libapache2-mod-php4 libaspell15c2 libbeecrypt6 libcairo2
libcapi20-3 libcdio6 libcupsys2 libcurl3-gnutls libdmx-dev libdmx1 libedit2
libexif-gtk5 libfam0 libflac++5 libflac7 libfs6 libgdchart-gd2-noxpm
libgnokii2 libgsmme1c2a libgstreamer0.8-0 libgutenprint2 libiso9660-4
libjack0.100.0-0 libmagick9 libmodplug0c2 libmusicbrainz4c2 libneon24
libntfs7 liboggflac3 libopenexr2c2 libparted1.6-13 libpcrecpp0 libsamplerate0
libsigc++-1.2-5c2 libsnmp-base libsnmp9 libsqlite3-0 libssl0.9.8
libstdc++6-4.0-dev libtunepimp2c2 libwxgtk2.4-1 libxau-dev libxau6 libxaw8
libxcomposite1 libxdamage1 libxdmcp-dev libxdmcp6 libxfixes3 libxinerama-dev
libxkbfile-dev libxkbfile1 libxkbui-dev libxkbui1 libxres-dev libxres1
libxss-dev libxvmc-dev libxvmc1 libxxf86dga-dev libxxf86dga1 libxxf86misc-dev
libxxf86misc1 libxxf86vm-dev libxxf86vm1 libzipios++0 mysql-client-4.1
mysql-server-4.1 openssh-client openssh-server readline-common ssl-cert
x11-common xserver-xorg
The following packages have been kept back:
cloop-utils efax-gtk kismet kphone libqt3-compat-headers libqt3-headers
libqt3-mt-dev mknbi ndiswrapper-utils pppconfig qt3-dev-tools scribus
The following packages will be upgraded:
aalib1 ace-of-penguins adduser aespipe alien alsa-base alsa-utils apache
apache-common apache2-utils apt apt-utils aptitude arj atmel-firmware attr
audacity aumix-gtk autoconf autofs autotools-dev base-files bash bb bc bind9
bind9-host binutils binutils-dev bison bittorrent bluez-utils bochsbios
bsdutils bzip2 capiutils cdrdao chkrootkit comerr-dev console-common
console-data console-tools coreutils cpio cpp cpp-3.3 cpp-4.0 cpuburn cron
cupsys cupsys-bsd cupsys-client cvs dante-client dash dbus-1 dc debconf
debconf-i18n debconf-utils debfoster debhelper debianutils debootstrap
deborphan debsums devscripts dh-make dhcp3-common dhcp3-server dialog dict
dictionaries-common dietlibc-dev diffstat ding distcc dlocate dmidecode
dnsutils dpatch dpkg dpkg-dev dselect dump dupload dvd+rw-tools e2fslibs
e2fsprogs efax eject elinks enigma enigma-data ethereal ethereal-common
ethtool euro-support euro-support-console euro-support-x fakeroot fbi fdutils
fetchmail file fileutils findutils finger flex fluxbox foomatic-db-gimp-print
freeglut3 ftp fuse-utils g++ g++-3.3 gaim gaim-data gawk gcc gcc-3.3
gcc-3.3-base gcc-4.0 gcc-4.0-base gdk-imlib1 gif2png giflib-bin giflib3g gimp
gimp-data gnuchess gnupg gphoto2 gpm gpsdrive gq gqcam grep groff groff-base
grub gs-common gs-esp gsm-utils gtans gtkam hdparm hexedit hicolor-icon-theme
hostapd hostname hpijs html2text i810switch icewm icewm-common ijsgimpprint
imagemagick imlib-base imlib11 info initrd-tools intltool-debian ipppd
ipsec-tools iptables iptraf ipx ircii isdnactivecards isdnutils-base
isdnutils-xtools isdnvboxclient jfsutils k3b-i18n kdebase-data kdelibs-data
kernel-package kstars-data ksysguardd larswm lde less lftp libacl1 libao2
libapache-mod-php4 libapache-mod-ssl libapr0 libapt-pkg-perl libartsc0
libasound2 libaspell15 libatk1.0-0 libattr1 libaudio-dev libaudio2 libbind9-0
libblkid1 libbluetooth1 libbz2-1.0 libbz2-dev libc6 libc6-dev libcomerr2
libconsole libcupsimage2 libcupsys2-gnutls10 libcurl3 libdate-manip-perl
libdb1-compat libdb3 libdbd-mysql-perl libdbi-perl libdevmapper1.01 libdm0
libdns20 libdps1 libdv4 libfam-dev libfribidi0 libfuse-dev libfuse2 libgcc1
libgcj-common libgcrypt11 libgcrypt11-dev libgd2-xpm libgimp2.0 libglib2.0-0
libglib2.0-data libglib2.0-dev libgnutls11 libgnutls12 libgpgme11
libgphoto2-2 libgphoto2-port0 libgpmg1 libgtk1.2 libgtk1.2-common libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libgtkspell0 libhal-storage0 libhal0
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libice-dev libice6
libisc9 libisccc0 libisccfg1 libiw28 libjcode-pm-perl libkadm55 libkrb5-dev
libkrb53 libldap2 liblircclient0 libltdl3 liblwres1 libm17n-0 libmagic1
libmpcdec3 libmysqlclient12 libmysqlclient14 libnasl2 libncp libncurses5
libncurses5-dev libncursesw5 libnessus2 libnetpbm10 libnetpbm9 libnewt0.51
libnspr4 libnss3 libopenal0 libpam-modules libpam-ncp libpam-runtime libpam0g
libpam0g-dev libpango1.0-0 libpango1.0-common libpcap0.8 libpcre3
libpcre3-dev libperl5.8 libpisock8 libpng12-0 libpng12-dev libreadline4
libreadline5 librecode0 libresmgr1 librpm4 libruby1.8 libsane libsane-extras
libsasl2 libsasl2-modules libsdl-gfx1.2 libsdl-mixer1.2 libsdl-net1.2
libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-oss libselinux1 libsensors3
libslang2 libslp1 libsm-dev libsm6 libsmbclient libsmpeg0 libsndfile1
libspeex1 libss2 libssl-dev libssl0.9.7 libstdc++5 libstdc++5-3.3-dev
libstdc++6 libsysfs1 libt1-5 libtasn1-2 libtasn1-2-dev libtext-charwidth-perl
libtext-iconv-perl libtext-wrapi18n-perl libtiff-tools libtiff4 libtiff4-dev
libtiffxx0c2 libtool libtunepimp-bin libungif4g libusb-0.1-4 libusb-dev
libuuid1 libvcdinfo0 libwine libwine-print libwine-twain libwmf-bin
libwmf0.2-7 libwvstreams4.0-base libwvstreams4.0-extras libx11-6 libx11-dev
libxaw7 libxaw7-dev libxdelta2 libxext-dev libxext6 libxft1 libxi-dev libxi6
libxine1 libxinerama1 libxml2 libxml2-utils libxmu-dev libxmu6 libxmuu-dev
libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2
libxslt1.1 libxss1 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev
libxtst6 libxv-dev libxv1 libzvbi-common libzvbi0 lilo linux-sound-base
loadlin locales login logrotate loop-aes-utils lsb-base lsof lynx m4 macutils
make makedev man-db manpages manpages-de manpages-dev mc mdadm menu menu-xdg
mime-support minicom mobilemesh modconf module-assistant module-init-tools
mount mozilla-firefox mozilla-thunderbird mozilla-thunderbird-locale-de
mozilla-thunderbird-offline mpack mutt mysql-client mysql-common mysql-server
ncpfs ncurses-base ncurses-bin nessus nessus-plugins nessusd net-tools
netbase netpbm netpipe-tcp netris nis nmap ntfsprogs ntpdate openssl
partimage partimage-server passwd pciutils pciutils-dev pcmcia-cs perl
perl-base perl-modules perl-suid php4 php4-common php4-mysql pilot-link
pkg-config playmidi pm-dev po-debconf portmap pppdcapiplugin pppoeconf
pptp-linux psmisc psutils pump python2.3 python2.3-tk rdate rdesktop recode
reportbug rpm rsync ruby1.8 rxvt-beta samba samba-common sane sane-utils sash
sed setserial sharutils shellutils sleuthkit slrn smartmontools smbclient
smbfs sound-recorder sox speex squid squid-common ssh sslwrap statserial
stunnel sudo syslinux sysutils tasksel tcl8.4 tcpdump telnet-ssl telnetd-ssl
testdisk tethereal textutils tftp thttpd timeout tk8.4 tnef traceroute
trans-de-en ttf-opensymbol ttmkfdir twm ucf unzip urlview usbutils util-linux
util-linux-locales vcdimager vdr vim vim-common vim-gtk vim-scripts
vnc-common vorbis-tools wget whiptail whois wine wine-utils wireless-tools
wordtrans-data wpasupplicant x-dev x-ttcidfont-conf xaos xaw3dg xbase-clients
xboard xchat xchat-common xdelta xdm xfonts-100dpi xfonts-100dpi-transcoded
xfonts-75dpi xfonts-75dpi-transcoded xfonts-base xfonts-base-transcoded
xfonts-konsole xfonts-scalable xfonts-terminus xfree86-common
xfree86-driver-synaptics xgalaga xine-ui xlibmesa-dri xlibmesa-gl
xlibmesa-gl-dev xlibs xlibs-data xlibs-dev xlibs-static-dev xlibs-static-pic
xloadimage xmms xmms-goom xmms-modplug xnest xpdf xpdf-common xpdf-reader
xpdf-utils xsane xsane-common xserver-common xserver-xfree86 xterm xutils
zile zlib1g zlib1g-dev
591 upgraded, 80 newly installed, 146 to remove and 12 not upgraded.

This is normally ?
Because i was did some upgrades in the past and them were crashes to no system that i was needed to install the system again !
Please say me if this is normally that the upgrade file say me !!

p.s And can i install them with the kpackage? because in the kpackage i see new packages that need to be installed ! that is the same packages that apt-get say me ?

thanks for advance,
plazzmex

p.s2 - sorry if my english bad

UnderScore
12-22-2005, 07:24 AM
Your link http://www.bytebot.net/geekdocs/debian-knoppix.html was last updated over 2.5 years ago.
You should read up to date documentation at http://www.knoppix.net/wiki/Hd_Install_HowTo

About the upgrade lists problem http://www.knoppix.net/wiki/HD_Install_Warning_not_to_do_it
That problem is that there are several different versions of Debian. These are sometimes called the stable, testing and unstable versions. At other times they are known by their internal code names for the different versions. Hopefully someday the testing version will become the new stable version, but the versions known as Sarge or Woody will always be Sarge and Woody, no matter if they are called stable or not. So why is this a problem? Because when you add programs or install security updates or other updates, the design of the Debian system expects that you will stay within the same version. Packages (programs) that work under Sarge are expected to stay under Sarge. They are not tested to work under other releases and indeed may not work or may even break something else when installed or updated. The same is true for the other versions of Debian as well.

Hopefully by now you are thinking "So what and, by the way, which version of Debian is Knoppix based on?" Well, Klaus made a very important choice when he built Knoppix. Knowing that it was going to be run from a CD he decided that he could mix and match between the different Debian versions, as long as he did this carefully and tested everything and manually fixed version problems. For him that was a good choice. The "stable" version of Debian is usually somewhat dated. The testing version is usually actually pretty stable, although there may be some minor issues to be worked out or just things that haven't been tested enough for Debian to classify as stable when a distro of Linux is going to be used in a large expensive mission critical application. There may be some software that is so new that it is only in the "unstable" version, even though that software itself is pretty well known to be stable and bug free (as much as any software ever is). So choosing to mix between the versions and test extensively for version issues allows Klaus to release a great live CD. It can contain some of the newest packages when needed. It can contain stable packages from a trusted version when newer versions have known problems, or have become too bloated to fit on the CD, or when there is any other good reason to stay with an older version. This works out great for a Live CD where everything has been tested to work together well. It does not work out so well when you take that combination of carefully tested and balanced (and maybe hacked to fit) software and install it to hard disk, particularly if you ever install anything else or try to update any of the current packages. That makes the package manager do things that it is not intended to do with parts taken from the different versions. And people who do that frequently come back to these forums and bad mouth Linux as being unfit for the desktop even though they were warned not to do it and that there would be problems.

plazzmex
12-22-2005, 03:04 PM
I DONT UNDERSTAND ANYTHING THERE !!!!!!
PLEASE HELP ME TO DO THE UPGRADE !

foamrotreturns
12-23-2005, 12:05 AM
plazzmex,
In short, you cannot upgrade Knoppix as installed to the hard disk. Knoppix is NOT designed to be a hard disk installed Operating System. If you want to be able to do upgrades, I suggest you try Kanotix. It is very similar to Knoppix, but it is based solely on Debian Testing instead of a mix-n-match like Knoppix is, so full system upgrades will not crash your system.
http://kanotix.com