Problems with apt-get
Ed Rivenbark
yellowdog-general@lists.terrasoftsolutions.com
Sat May 10 15:09:04 2003
Are you running apt-get as root?
-----Original Message-----
From: yellowdog-general-admin@lists.terrasoftsolutions.com
[mailto:yellowdog-general-admin@lists.terrasoftsolutions.com] On Behalf
Of aris@samizdat.net
Sent: Saturday, May 10, 2003 1:57 PM
To: yellowdog-general@lists.terrasoftsolutions.com
Subject: Problems with apt-get
Hello,
After installing YDL 3.0 no possibilities to use apt-get for installing
additionals software.
Apt can't find the necessary listing files fo packages and sources
Regarding on apt config file I see that apt-get search for "base" files,
and on the http://ftp.yellowdoglinux.com apt/3.0 all presents files are
prefixed "main".
I made a small "hack" of the file (/etc/apt/sources.list) replacing
"base" by "main".
naow apt-get grab the listing but I have new errors : cannot get
exclusive lock on /var/lib/rpm/Packages, Could not get lock
/var/cache/apt/archives/lock, Unable to lock the download directory
Somebody had a idea ?
Thanks
Aris
With the YDL config
--------------------
[root@localhost root]# apt-get update
Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [486B]
Fetched 486B in 0s (601B/s)
Err http://ftp.yellowdoglinux.com apt/3.0/base pkglist
404 Not Found
Ign http://ftp.yellowdoglinux.com apt/3.0/base release
Err http://ftp.yellowdoglinux.com apt/3.0/base srclist
404 Not Found
Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
Hit http://ftp.yellowdoglinux.com apt/3.0/update release
Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
Failed to fetch
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.base
404 Not Found
Failed to fetch
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.base
404 Not Found
warning: cannot get exclusive lock on /var/lib/rpm/Packages
Reading Package Lists... Done
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.base
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/release.base
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.base
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.
After correction
-----------------
[root@localhost root]# apt-get update
Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [486B]
Fetched 486B in 0s (511B/s)
Get:1 http://ftp.yellowdoglinux.com apt/3.0/main pkglist [1301kB]
Get:2 http://ftp.yellowdoglinux.com apt/3.0/main release [123B]
Get:3 http://ftp.yellowdoglinux.com apt/3.0/main srclist [152kB]
Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
Hit http://ftp.yellowdoglinux.com apt/3.0/update release
Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
Fetched 1453kB in 1m46s (13,6kB/s)
warning: cannot get exclusive lock on /var/lib/rpm/Packages
Reading Package Lists... Done
Collecting File Provides... Done
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.main
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/release.main
W: Release file did not contain checksum information for
http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.main
W: You may want to run apt-get update to correct these problems
When using apt-get
------------------
[root@localhost root]# apt-get install postfix
warning: cannot get exclusive lock on /var/lib/rpm/Packages
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
postfix
0 packages upgraded, 1 newly installed, 0 removed and 10 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Ressource
temporairement non disponible)
E: Unable to lock the download directory
_______________________________________________
yellowdog-general mailing list
yellowdog-general@lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general