Hi guys,
I'm trying to update to Dapper from Kubuntu.
I have updated my sources.list as root, replacing "Breezy" with "dapper".
I get the following errors....
Building dependency tree... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: Couldn't stat source package list cdrom://Ubuntu 5.10 _dapper Badger_ - Release i386 (20051012) dapper/main Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fdapper%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_dapper_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list cdrom://Ubuntu 5.10 _dapper Badger_ - Release i386 (20051012) dapper/restricted Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fdapper%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_dapper_restricted_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper_restricted_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper-updates/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper-updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper-updates/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.ubuntu.com dapper-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_dapper-security_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.ubuntu.com dapper-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_dapper-security_restricted_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems
Help!
On 6/9/06, Joshua M. Goodwin tech@iblp.org.nz wrote:
Hi guys,
I'm trying to update to Dapper from Kubuntu.
I have updated my sources.list as root, replacing "Breezy" with "dapper".
I get the following errors....
Have you tried running it again? Often I find it gives those sort of errors when you change the sources.list file and then you run it again and it comes right...
Ian
On Fri, Jun 09, 2006 at 10:30:33AM +1200, Joshua M. Goodwin wrote:
Hi guys,
I'm trying to update to Dapper from Kubuntu.
I have updated my sources.list as root, replacing "Breezy" with "dapper".
I get the following errors....
Building dependency tree... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: You may want to run apt-get update to correct these problems
This looks like you've run 'apt-get upgrade' to upgrade the packages before running 'apt-get update' to get new package lists. apt-get even helpfully offered this :)
By the way, if you run 'apt-get -u upgrade' with the -u flag then it will give you a bit more information about which packages it will get (or hold back).
John
On Friday 09 June 2006 10:40, John R. McPherson wrote:
On Fri, Jun 09, 2006 at 10:30:33AM +1200, Joshua M. Goodwin wrote:
Hi guys,
I'm trying to update to Dapper from Kubuntu.
I have updated my sources.list as root, replacing "Breezy" with "dapper".
I get the following errors....
Building dependency tree... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: You may want to run apt-get update to correct these problems
This looks like you've run 'apt-get upgrade' to upgrade the packages before running 'apt-get update' to get new package lists. apt-get even helpfully offered this :)
By the way, if you run 'apt-get -u upgrade' with the -u flag then it will give you a bit more information about which packages it will get (or hold back).
John
To upgrade my kubuntu to dapper (from hoary) I edited sources.list ran apt-get update then ran apt-get dist-upgrade as per the man dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new ver‐ sions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important pack‐ ages at the expense of less important ones if necessary. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_prefer‐ ences(5) for a mechanism for overriding the general settings for individual packages.
You may also want to update kde afterwards, as dapper kubuntu came with kde-3.5.2 as per the instructions found at http://kubuntu.org/announcements/kde-353.php
Regards Shane (Who should be doing assignments)
Uh, to all the other people who replied...did you read the errors?! No offense :)
It's looking for "dapper Badger". That's probably a clue that something ain't right. I'm not sure about the rest of the online repositories; I'd be willing to bet that something ain't right there, but it could just be that the nz archives seem to be a bit unreliable, not that there is anything wrong with the actual syntax in the souces.list.
Remove the CD-ROM entry from sources.list as a first course of action. Then make sure that what's left looks like this:
## Begin sources.list
deb http://archive.ubuntu.com/ubuntu/ dapper main restricted deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted deb-src http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse
## End sources.list
Hope this helps :)
On Fri, 2006-06-09 at 10:30 +1200, Joshua M. Goodwin wrote:
Hi guys,
I'm trying to update to Dapper from Kubuntu.
I have updated my sources.list as root, replacing "Breezy" with "dapper".
I get the following errors....
Building dependency tree... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: Couldn't stat source package list cdrom://Ubuntu 5.10 _dapper Badger_
- Release i386 (20051012) dapper/main Packages
(/var/lib/apt/lists/Ubuntu%205.10%20%5fdapper%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_dapper_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list cdrom://Ubuntu 5.10 _dapper Badger_
- Release i386 (20051012) dapper/restricted Packages
(/var/lib/apt/lists/Ubuntu%205.10%20%5fdapper%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_dapper_restricted_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper_restricted_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper-updates/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper-updates_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://nz.archive.ubuntu.com dapper-updates/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_dapper-updates_restricted_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com dapper-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_dapper-security_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com dapper-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_dapper-security_restricted_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
Help!
wlug mailing list | wlug@list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
Dominic Tennant wrote:
Uh, to all the other people who replied...did you read the errors?! No offense :)
It's looking for "dapper Badger". That's probably a clue that something ain't right. I'm not sure about the rest of the online repositories; I'd be willing to bet that something ain't right there, but it could just be that the nz archives seem to be a bit unreliable, not that there is anything wrong with the actual syntax in the souces.list.
That is only a problem with the CD entry in the sources.list.
CDs are added to apt-get with the release name, as stored in /cdrom/.disk/info. The line in the list would have read something like "deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051031)]/ breezy main restricted", and so a search/replace would have affected it in the way you describe. The line should be removed completely, and if you want to add another CD, use 'apt-cdrom add'.
The rest of the errors were due to not having run apt-get update to get the new entries from the Internet.
Craig
participants (6)
-
Craig Box -
Dominic Tennant -
Ian McDonald -
John R. McPherson -
Joshua M. Goodwin -
Shane