(solved) Error: You don't have enough free space in /var/cache/apt/archives/.

Started by eQuacky, 2015/12/21, 08:10:20

Previous topic - Next topic

eQuacky

Hi folks,


wanted to follow devil's advice -  Migration back from KDE-Next to Debian-KDE - as described in the announcenments, but after a apt-get update and apt-get dist-upgrade I have got following Error:
.
.

852 upgraded, 25 newly installed, 10 to remove and 1 not upgraded.
18446744071772705524,2358121204
How odd... The sizes didn't match, email apt@packages.debian.org
Need to get 18.4 EB of archives.
After this operation, 13.1 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.


A df indicates to me that there should be enough space on disk.



root@sid-X121e:/home/ltq# df -h

Filesystem      Size  Used Avail Use% Mounted on
udev             10M     0   10M   0% /dev
tmpfs           712M 1020K  711M   1% /run
/dev/sda1       172G  106G   58G  65% /
tmpfs           1.8G  220K  1.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.8G     0  1.8G   0% /sys/fs/cgroup
/dev/sda3       116G   36G   75G  33% /disks/disk1part3
tmpfs           356M  4.0K  356M   1% /run/user/105
tmpfs           356M   12K  356M   1% /run/user/1000


A web search didn't find appropriate solutions either.


Any help appreciated.


Thomas

edited by bluelupo (Moderator): set code tags


jure

Hi Thomas

no you don`t have enough disk space at all for 18.4 EB  (Exabyte (EB) ;-)

Quote...Need to get 18.4 EB of archive...

try apt-get clean > apt-get update > apt-get dsit-upgrade



Gruss Juergen

eQuacky

Hi Jürgen,


ok Exabyte - wow! Cannot image such an amount.


And apt wanted me to get that not me :-)


Unfortunately your hint didn't work, error remains the same.

bluelupo


eQuacky

Hi bluelupo,


already tried, also apt-get autoremove.


Both failed. Same error message after du.

jure

you did ?
QuoteComment (#)  all kdenext-related entries in your sources.list
Check if you have a separate kdenext.list and comment the lines there
and you have no other mysterious entries in your sources lists ?

I am not an expert - but
if you are at the point "Cleaning up" you can try
rm -rf /var/lib/apt/list/* && apt update
apt dist-upgrade
Gruss Juergen

piper

Is  "apt"  itself listed as one of the apps to get dist-upgraded ?

I believe it will be.
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

eQuacky

@jure
no I didn't, that error has been occured before I wanted to start the transition. Didn't touch the kdenext entry.


ok my sources.list.d looks as follows:
debian.list with usual unstable entry
misc.list commented as misc. siduction-lists which seems to provide experimental and user entries, but all are commented out and a
siduction.list with base, extra, fixes, and kdenext whereas last one was added by me times ago.


@piper
yep apt and apt-utils are listed by dist-upgrade.

piper

Can you give this a try

apt-get update && apt-get --only-upgrade install apt apt-utils

Both should upgrade to version 1.1.5

After that, do

apt-get clean

apt-get update && apt-get dist-upgrade

Everything *should* be back to normal
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

eQuacky

I gave it a try but error remains the same.


Both apts are now in version 1.1.5.


But what I have noticed with a apt-show-versions is following:



ltq@sid-X121e:~$ apt-show-versions | grep -i apt
apt:amd64/unstable 1.1.5 uptodate
apt:i386 not installed
apt-conf-siduction:all/unstable 0.3.5 uptodate
apt-file:all/unstable 2.5.4 uptodate
apt-listchanges:all/unstable 2.85.14 uptodate
apt-show-versions:all/unstable 0.22.7 uptodate
apt-utils:amd64/unstable 1.1.5 uptodate
apt-utils:i386 not installed
aptitude:amd64/unstable 0.7.4-2 upgradeable to 0.7.5-3
aptitude:i386 not installed
aptitude-common:all/unstable 0.7.4-2 upgradeable to 0.7.5-3
laptop-detect:amd64/unstable 0.13.7 uptodate
laptop-detect:i386 not installed
libapt-inst1.5:amd64 1.0.9.10 installed: No available version in archive
libapt-inst2.0:amd64/unstable 1.1.1 upgradeable to 1.1.5
libapt-inst2.0:i386 not installed
libapt-pkg-perl:amd64/unstable 0.1.29+b4 upgradeable to 0.1.29+b5
libapt-pkg-perl:i386 not installed
libapt-pkg4.12:amd64 1.0.9.10 installed: No available version in archive
libapt-pkg5.0:amd64/unstable 1.1.3 upgradeable to 1.1.5
libapt-pkg5.0:i386 not installed
libatk-adaptor:amd64/unstable 2.18.1-1 uptodate
libatk-adaptor:i386 not installed
libraptor2-0:amd64/unstable 2.0.14-1 uptodate
libraptor2-0:i386 not installed
netselect-apt:all/unstable 0.3.ds1-26 uptodate
python-apt:amd64/unstable 1.1.0~beta1 uptodate
python-apt:i386 not installed
python-apt-common:all/unstable 1.1.0~beta1 uptodate
python3-apt:amd64/unstable 1.1.0~beta1 uptodate
python3-apt:i386 not installed
xserver-xorg-input-synaptics:amd64/unstable 1.8.2-1 uptodate
xserver-xorg-input-synaptics:i386 not installed


Some of the "libapts" are not uptodate?!
Shall I du them in the same way?


thomas

edited by bluelupo (Moderator): set code tags

piper

Lets try this

apt-get clean

rm -rf /var/lib/apt/list/*

Inside /var/cache/apt you have 2 folders (apt-file, archives) and 2 .bin files (pkgcache.bin, srcpkgcache.bin).

As root, either move them or cut & paste them to a backup folder.

Now try a

apt-get update && apt-get dist-upgrade

If, for some reason the *.bin files don't regenerate (they should) you can regenerate them with

apt-cache gencaches




I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

eQuacky


jure

Hallo thomas

ich schreib`s mal auf deutsch

versuche doch mal per "apt update"nur einen Eintrag in einer Liste in "/etc/apt/sources.list.d/" - den Rest auskommentieren. Dann den nächsten .... um zu sehen ob es bei jedem Eintrag hängt, oder nur bei einem.
Gruss Juergen

eQuacky

Hi,
after the public holidays I had more time to fumble around.
Here's the content of my debian.list:
# debian loadbalancer
#deb http://http.debian.net/debian/ unstable main contrib non-free
#deb-src http://http.debian.net/debian/ unstable main contrib non-free

#deb http://http.debian.net/debian/ unstable main contrib
#deb http://http.debian.net/debian/ unstable main non-free
#deb http://http.debian.net/debian/ unstable contrib non-free
deb http://http.debian.net/debian/ main contrib non-free

With "deb ... unstable main contrib" and "deb ... unstable main non-free" same error message as usual.
With "deb ... unstable contrib non-free" I could dist-upgrade 15 packages with "deb ... main contrib non-free" 6.
Whereas last one shows further error message after using apt update like:

.
.
.
Ign:14 http://ftp.uni-kl.de/debian main/non-free all Packages
Err:7 http://ftp.uni-kl.de/debian main/contrib amd64 Packages
  404  Not Found [IP: 131.246.123.4 80]
Err:8 http://ftp.uni-kl.de/debian main/contrib i386 Packages
  404  Not Found [IP: 131.246.123.4 80]
Ign:9 http://ftp.uni-kl.de/debian main/contrib all Packages
Err:12 http://ftp.uni-kl.de/debian main/non-free amd64 Packages
  404  Not Found [IP: 131.246.123.4 80]
Err:13 http://ftp.uni-kl.de/debian main/non-free i386 Packages
  404  Not Found [IP: 131.246.123.4 80]
Ign:14 http://ftp.uni-kl.de/debian main/non-free all Packages
Reading package lists... Done
W: The repository 'http://http.debian.net/debian main Release' does not have a Release file.
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.
W: Failed to fetch http://ftp.uni-kl.de/debian/dists/main/contrib/binary-amd64/Packages  404  Not Found [IP: 131.246.123.4 80]
W: Failed to fetch http://ftp.uni-kl.de/debian/dists/main/contrib/binary-i386/Packages  404  Not Found [IP: 131.246.123.4 80]
W: Failed to fetch http://ftp.uni-kl.de/debian/dists/main/non-free/binary-amd64/Packages  404  Not Found [IP: 131.246.123.4 80]
W: Failed to fetch http://ftp.uni-kl.de/debian/dists/main/non-free/binary-i386/Packages  404  Not Found [IP: 131.246.123.4 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

piper

I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA