HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   only half upgrade to lenny (http://www.howtoforge.com/forums/showthread.php?t=31765)

Dinooo 25th February 2009 12:56

only half upgrade to lenny
 
i followed the tutorial from http://www.howtoforge.com/how-to-upg...o-debian-lenny

the version of debian is fine ...
Code:

root@qwertz:~# cat /etc/debian_version
5.0

... but the upgrade of the kernel haven't work at all
Code:

root@qwertz:~# uname -r
2.6.18-6-xen-amd64

any idea why the upgrade haven't worked?

Dinooo 25th February 2009 13:03

1 Attachment(s)
there was also an error with uswsusp, but i removed it because i don't need hibernate at my server. busybox{u} initramfs-tools{u} klibc-utils{u} libklibc{u} libsplashy1{u} were also removed

falko 26th February 2009 20:13

What's in /etc/apt/sources.list? Do you get any errors when you run
Code:

aptitude full-upgrade
?
What's the output of
Code:

ls -la /etc/apt/
?

Dinooo 26th February 2009 21:27

Code:

root@asdf:~# ls -la /etc/apt/
total 48
drwxr-xr-x  4 root root  4096 2009-02-25 10:24 .
drwxr-xr-x 98 root root 12288 2009-02-26 10:59 ..
drwxr-xr-x  2 root root  4096 2009-02-24 16:09 apt.conf.d
-rw-------  1 root root    0 2008-10-12 16:45 secring.gpg
-rw-r--r--  1 root root  1818 2009-02-24 15:38 sources.list
drwxr-xr-x  2 root root  4096 2007-02-26 22:53 sources.list.d
-rw-------  1 root root  1200 2009-02-24 15:15 trustdb.gpg
-rw-------  1 root root  5801 2009-02-24 15:15 trusted.gpg
-rw-------  1 root root  7255 2009-02-24 15:15 trusted.gpg~

Code:

root@asdf:~# cat /etc/apt/sources.list
#
#  /etc/apt/sources.list
#

# von http://workaround.org/articles/ispmail-etch/
# Das 'clamav-daemon'-Paket aus Etch hat einen l√§igen kleinen Bug. Beim Starten des Dienstes kann es zu einer zeitlichen √erschneidung mit anderen Diensten kommen. Dieser Bug ist ist in Debian's volatile-Zweig behoben worden.
#deb http://volatile.debian.org/debian-volatile etch/volatile main

# von http://workaround.org/articles/ispmail-etch/
# Einige der vorgeschlagenen Pakete (z.B. lha, unrar) sind nicht "frei" genug um in der Debian main-Sektion verfuegbar zu sein. Wenn Sie diese installieren wollen, muessen Sie zuerst die non-free-Sektion in ihrem Debian-Spiegel unter /etc/apt/sources.list nachtragen. Normalerweise muessen Sie nur das Wort non-free an die existierende Spiegel-Zeilen anhaengen:
#deb http://ftp.debian.org/debian/ etch main non-free
#deb http://security.debian.org/ etch/updates main non-free

#
# etch
#
#deb    http://ftp.uni-bayreuth.de/linux/Debian/debian/    etch main
#deb-src http://ftp.uni-bayreuth.de/linux/Debian/debian/    etch main
##deb    http://ftp.uni-bayreuth.de/linux/Debian/debian/    etch main contrib non-free
##deb-src http://ftp.uni-bayreuth.de/linux/Debian/debian/    etch main contrib non-free

#
# etch Security updates
#
#deb    http://security.debian.org/ etch/updates  main contrib
#deb-src http://security.debian.org/ stable/updates  main contrib
##deb    http://security.debian.org/ etch/updates  main contrib non-free
##deb-src http://security.debian.org/ stable/updates  main contrib non-free


#
# Lenny
#
deb http://ftp2.de.debian.org/debian/ lenny main
deb-src http://ftp2.de.debian.org/debian/ lenny main

#
# Lenny Security updates
#
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

no error ...
Code:

root@asdf:~# aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done


falko 27th February 2009 14:23

What's in /etc/apt/apt.d and /etc/apt/sources.list.d?

What's the output of
Code:

ls -la /boot
? What's in /boot/grub/menu.lst?

Dinooo 1st March 2009 18:10

Code:

root@asdf:~# ll -R /etc/apt/
/etc/apt/:
total 48K
drwxr-xr-x  4 root root 4.0K 2009-02-26 21:38 .
drwxr-xr-x 98 root root  12K 2009-02-26 10:59 ..
drwxr-xr-x  2 root root 4.0K 2009-02-26 21:37 apt.conf.d
-rw-------  1 root root    0 2008-10-12 16:45 secring.gpg
-rw-r--r--  1 root root 1.8K 2009-02-24 15:38 sources.list
drwxr-xr-x  2 root root 4.0K 2007-02-26 22:53 sources.list.d
-rw-------  1 root root 1.2K 2009-02-24 15:15 trustdb.gpg
-rw-------  1 root root 5.7K 2009-02-24 15:15 trusted.gpg
-rw-------  1 root root 7.1K 2009-02-24 15:15 trusted.gpg~

/etc/apt/apt.conf.d:
total 16K
drwxr-xr-x 2 root root 4.0K 2009-02-26 21:37 .
drwxr-xr-x 4 root root 4.0K 2009-02-26 21:38 ..
-rw-r--r-- 1 root root  92 2009-02-07 22:18 01autoremove
-rw-r--r-- 1 root root  182 2008-03-13 11:32 70debconf
-rw-r--r-- 1 root root    0 2008-10-12 16:46 proxy-guess

/etc/apt/sources.list.d:
total 8.0K
drwxr-xr-x 2 root root 4.0K 2007-02-26 22:53 .
drwxr-xr-x 4 root root 4.0K 2009-02-26 21:38 ..


Code:

root@asdf:~# ls -la /boot
total 8
drwxr-xr-x  2 root root 4096 2006-10-28 16:07 .
drwxr-xr-x 23 root root 4096 2009-02-24 16:04 ..


falko 2nd March 2009 14:06

There's nothing in /boot? Is this maybe a virtual machine?

Dinooo 2nd March 2009 14:28

yes ... with xen

falko 3rd March 2009 19:12

Ok, the kernel is defind on the host (dom0) - the guest has no influence on it.


All times are GMT +2. The time now is 14:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.