Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Unable to dl rsync package.
Re: Unable to dl rsync package.
Would it be possible to actually post your /etc/apt/sources.list as well as anything in /etc/apt/sources.list.d?
Jessie/Xfce
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Unable to dl rsync package.
@aicardi -- Read the first page of this thread; we've already done that
deadbang
Re: Unable to dl rsync package.
I did read that.Head_on_a_Stick wrote:@aicardi -- Read the first page of this thread; we've already done that
I also read this:
I am curious on the 404'sk so I updated my sources list with the deb's you noted above (I commented out the others), then ran the apt-get update command, here is the output.
Jessie/Xfce
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Thank you for the hint on posting codeHead_on_a_Stick wrote:APT doesn't lie...FeedMeAStrayCat wrote:Code: Select all
Fetched 2,491 B in 10min 16s (4 B/s)
Maybe check your firewall settings or query your ISP?
For future reference: when posting terminal output please use code tags, like this:
[code]terminal output here[/code]
It makes it much more readable
As for the internet issue, what's strange is that everything else works just fine. For example streaming video. I think if I did a speed test everything would be good. So I don't think apt is lieing, but I don't understand why its moving so slow when reaching out to dl updates. I would think the problem maybe is with the machine that Debian is running on, but as we speak I'm streaming video from that Debian machine, so at least I think the problem isn't the internal network speed.
You mention the firewall, I'm wondering where in the firewall the block could be. My firewall is my ISP router, and I don't have anything set up to limit speed to the IP that the Debian machine is associated with. Could it be a port issue? Please excuse my ignorance with any of this.
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Here is the sources.listaicardi wrote:Would it be possible to actually post your /etc/apt/sources.list as well as anything in /etc/apt/sources.list.d?
Code: Select all
#deb http://http.debian.net/debian wheezy main
#deb-src http://http.debian.net/debian wheezy main
#deb http://http.debian.net/debian wheezy-updates main
#deb-src http://http.debian.net/debian wheezy-updates main
#deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://ftp.debian.org/debian/ wheezy-updates main
Code: Select all
#deb http://shell.ninthgate.se/packages/debian squeeze main
#deb http://shell.ninthgate.se/packages/debian squeeze main
- dilberts_left_nut
- Administrator
- Posts: 5347
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: Unable to dl rsync package.
FeedMeAStrayCat wrote:Code: Select all
john@debian:~$ sudo apt-get autoclean [sudo] password for john: Reading package lists... Error! E: Write error - write (28: No space left on device) E: Can't mmap an empty file E: Failed to truncate file - ftruncate (9: Bad file descriptor) E: The package lists or status file could not be parsed or opened.
AdrianTM wrote:There's no hacker in my grandma...
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Unable to dl rsync package.
Some routers had problems with ftp and Debian. I sort of remember they were Dlink models...
Those are known good URL addresses in the list I gave you. Something is causing a problem when you try and connect to them.
Here's the actual rsync folder in the debian repository. You should be able to open this address with a web browser and see the files in the directory: http://ftp.debian.org/debian/pool/main/r/rsync/
Here's a very handy command, courtesy of kmathern, that will display the active and inactive "channels" and which file they are in:
Or you may be out of space in your root partition, per the error messages.
Those are known good URL addresses in the list I gave you. Something is causing a problem when you try and connect to them.
Here's the actual rsync folder in the debian repository. You should be able to open this address with a web browser and see the files in the directory: http://ftp.debian.org/debian/pool/main/r/rsync/
Here's a very handy command, courtesy of kmathern, that will display the active and inactive "channels" and which file they are in:
Code: Select all
p="-e^deb -e^.*#.*deb"; for i in $(grep -l $p /etc/apt/sources.list{,.d/*} 2>/dev/null); do echo $i; grep $p $i; echo; done
MX Linux packager and developer
- sunrat
- Administrator
- Posts: 6498
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Unable to dl rsync package.
This is most likely your problem -
Code: Select all
E: Write error - write (28: No space left on device)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
OK so I ran apt-get autoclean and apt-get clean. Even after running those two commands I am still getting an error when attempting to dl rsync
- sunrat
- Administrator
- Posts: 6498
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Unable to dl rsync package.
Post the output of
Code: Select all
df -h
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Unable to dl rsync package.
You can check how full your filesystem is after you've cleared the APT cache and removed any orphans by running:
EDIT: Ninja'd...
Visit http://speedof.me/ and check your download speed, then run `apt-get update` and check the download speed given by APT.
If APT is getting much slower download speeds I think you have to ask your ISP or check your router settings for anything to do with it's firewall.
Code: Select all
df -h
Visit http://speedof.me/ and check your download speed, then run `apt-get update` and check the download speed given by APT.
If APT is getting much slower download speeds I think you have to ask your ISP or check your router settings for anything to do with it's firewall.
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
OK so the problem persists. I cleared the cache but I'm still stuck.
Going back to a prior post from DilbertsLeftNut, /var/ is indeed full. So it looks like I need to expand /var, the problem is I don't know how to do this saftley.
Of course there are lots of articles out there but I'm not sure what to follow.
Going back to a prior post from DilbertsLeftNut, /var/ is indeed full. So it looks like I need to expand /var, the problem is I don't know how to do this saftley.
Of course there are lots of articles out there but I'm not sure what to follow.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Unable to dl rsync package.
Post the output requested by @sunrat plz.
Rather than just expand /var you should instead try to find out why it is full otherwise you will soon run into the same problem.
How big is /var now?
I've recently run `aptitude clean` on my Debian box & /var occupies ~0.5GiB; on my Arch box I haven't cleared the cache in a while and it's still only ~1.5GiB
Did you try to measure your download speeds as I suggested?
You claim you have a fast connection but APT says 4B/s -- that would certainly explain the "404" messages.
Rather than just expand /var you should instead try to find out why it is full otherwise you will soon run into the same problem.
How big is /var now?
I've recently run `aptitude clean` on my Debian box & /var occupies ~0.5GiB; on my Arch box I haven't cleared the cache in a while and it's still only ~1.5GiB
Did you try to measure your download speeds as I suggested?
You claim you have a fast connection but APT says 4B/s -- that would certainly explain the "404" messages.
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
sunrat wrote:Post the output ofCode: Select all
df -h
Code: Select all
Filesystem Size Used Avail Use% Mounted on
rootfs 322M 173M 133M 57% /
udev 10M 0 10M 0% /dev
tmpfs 798M 3.0M 795M 1% /run
/dev/disk/by-uuid/8b3bcdcd-3004-46bc-9efe-d5f47b783d21 322M 173M 133M 57% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.1G 268K 3.1G 1% /run/shm
/dev/sdh9 276G 113G 149G 44% /home
/dev/sdh8 368M 11M 338M 3% /tmp
/dev/sdh5 8.3G 3.8G 4.2G 48% /usr
/dev/sdh6 2.8G 2.8G 0 100% /var
/dev/mapper/media-media 6.2T 4.0T 2.0T 67% /var/media
/dev/mapper/media-SecurityCams 296G 445M 280G 1% /var/SecurityCams
Re: Unable to dl rsync package.
du -sh /var/*
too.
and so forth. Perhaps grep for M or G, to only get the big ones.
Then delete what can be deleted. *tar.gz in /var/log for sure. Round the lines of
find /var/log -name '*tar.gz* | xargs rm
(not sure, and there are find arguments to do it more smart. Don't copy and paste).
For what it's worth:
gentoo-laptop log # du -sh /var
703M /var
crap knows what you got there. 2.8 Gigs sound like a lot.
too.
and so forth. Perhaps grep for M or G, to only get the big ones.
Then delete what can be deleted. *tar.gz in /var/log for sure. Round the lines of
find /var/log -name '*tar.gz* | xargs rm
(not sure, and there are find arguments to do it more smart. Don't copy and paste).
For what it's worth:
gentoo-laptop log # du -sh /var
703M /var
crap knows what you got there. 2.8 Gigs sound like a lot.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Unable to dl rsync package.
So why is APT only reporting 4bytes a second if your browser is getting almost 4MiB a second?FeedMeAStrayCat wrote:Downspeed of my connnection via speedtest.net 30.69 Mbps
Are you sure you ran `apt-get clean`?
What is the output of:
Code: Select all
ls /var/cache/apt/archives/
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Output of du -sh /var/*schnuller wrote:du -sh /var/*
too.
and so forth. Perhaps grep for M or G, to only get the big ones.
Then delete what can be deleted. *tar.gz in /var/log for sure. Round the lines of
find /var/log -name '*tar.gz* | xargs rm
(not sure, and there are find arguments to do it more smart. Don't copy and paste).
For what it's worth:
gentoo-laptop log # du -sh /var
703M /var
crap knows what you got there. 2.8 Gigs sound like a lot.
Code: Select all
4.5M /var/backups
135M /var/cache
4.0K /var/games
2.1G /var/lib
4.0K /var/local
0 /var/lock
67M /var/log
16K /var/lost+found
8.0K /var/mail
4.0T /var/media
4.0K /var/opt
0 /var/run
254M /var/SecurityCams
95M /var/spool
319M /var/subsonic
4.0K /var/tmp
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Def did run apt-get clean, ran it again just in case..I am confused as you in regards the internet speed.Head_on_a_Stick wrote:So why is APT only reporting 4bytes a second if your browser is getting almost 4MiB a second?FeedMeAStrayCat wrote:Downspeed of my connnection via speedtest.net 30.69 Mbps
Are you sure you ran `apt-get clean`?
What is the output of:Code: Select all
ls /var/cache/apt/archives/
Code: Select all
ls /var/cache/apt/archives/
lock partial
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Unable to dl rsync package.
So you need to look at /var/lib and find out what is filling up your partition.
I really don't have a clue why APT is so slow but it seems likely that the 404's are due to your signal dropping out.
At your own risk you could have a look at something like apt-fast -- this manages APT downloads from multiple sources, a bit like a torrent download:
http://xmodulo.com/speed-slow-apt-get-i ... buntu.html
However, it looks to be designed for Ubuntu -- make sure you do not use the PPA method to install it.
I really don't have a clue why APT is so slow but it seems likely that the 404's are due to your signal dropping out.
At your own risk you could have a look at something like apt-fast -- this manages APT downloads from multiple sources, a bit like a torrent download:
http://xmodulo.com/speed-slow-apt-get-i ... buntu.html
However, it looks to be designed for Ubuntu -- make sure you do not use the PPA method to install it.
deadbang
Re: Unable to dl rsync package.
I am shooting in the dark. I would try:
deborphan
and or
deborphan --guess-all
then
deborphan | xargs apt-get remove --purge -y
aptitude purge ~c
apt-get autoremove
After that i would check /var/lib again (my main hope is aptitude purge ~c)
Doing ls -ahl /var/lib/* too, and so forth, until you found it, won't hurt.
Again: I never ran into something like this. It seems weird, as if you would have done something ... well: odd. Hence none of that is a "solution". It is a proposal to go on with troubleshooting, the problem lays somewhere else ("someone" has done something)
Take care with deborphan and mainly deborphan --guess all. It might remove stuff you don't want removed (you can install it again, but still).
-
I think i would reinstall the OS, btw. This looks like a mess. If you got the time and consider it fun, then go on.
deborphan
and or
deborphan --guess-all
then
deborphan | xargs apt-get remove --purge -y
aptitude purge ~c
apt-get autoremove
After that i would check /var/lib again (my main hope is aptitude purge ~c)
Doing ls -ahl /var/lib/* too, and so forth, until you found it, won't hurt.
Again: I never ran into something like this. It seems weird, as if you would have done something ... well: odd. Hence none of that is a "solution". It is a proposal to go on with troubleshooting, the problem lays somewhere else ("someone" has done something)
Take care with deborphan and mainly deborphan --guess all. It might remove stuff you don't want removed (you can install it again, but still).
-
I think i would reinstall the OS, btw. This looks like a mess. If you got the time and consider it fun, then go on.