Welcome, Guest. Please login or register.
Did you miss your activation email?

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

eQuacky

  • Guest
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.


Code: [Select]
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

« Last Edit: 2016/01/08, 02:39:24 by piper »

Offline jure

  • User
  • Posts: 635
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

  • Guest
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.

Offline bluelupo

  • User
  • Posts: 2.068
    • BluelupoMe
Hi eQuacky,

this can help ;-)

Code: [Select]
# apt-get autoclean

eQuacky

  • Guest
Hi bluelupo,


already tried, also apt-get autoremove.


Both failed. Same error message after du.

Offline jure

  • User
  • Posts: 635
you did ?
Quote
Comment (#)  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
Code: [Select]
rm -rf /var/lib/apt/list/* && apt update
apt dist-upgrade
Gruss Juergen

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Is  "apt"  itself listed as one of the apps to get dist-upgraded ?

I believe it will be.
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

eQuacky

  • Guest
@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.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Can you give this a try

Code: [Select]
apt-get update && apt-get --only-upgrade install apt apt-utils
Both should upgrade to version 1.1.5

After that, do

Code: [Select]
apt-get clean
Code: [Select]
apt-get update && apt-get dist-upgrade
Everything *should* be back to normal
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

eQuacky

  • Guest
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:


Code: [Select]
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
« Last Edit: 2015/12/22, 18:43:18 by bluelupo »

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Lets try this

Code: [Select]
apt-get clean
Code: [Select]
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

Code: [Select]
apt-get update && apt-get dist-upgrade
If, for some reason the *.bin files don't regenerate (they should) you can regenerate them with

Code: [Select]
apt-cache gencaches



« Last Edit: 2015/12/22, 22:05:19 by piper »
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

eQuacky

  • Guest
hm tried it but got same error, that's really weird!

Offline jure

  • User
  • Posts: 635
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

  • Guest
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.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Can you change

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

to

deb http://httpredir.debian.org/debian/ unstable main contrib non-free
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck