Unable to dl rsync package.

New to Debian (Or Linux in general)? Ask your questions here!

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-03 14:26

Head_on_a_Stick wrote:Post the output of:
Code: Select all
ls /etc/apt/sources.list.d/

Just in case ©


There is something in /etc/apt/sources.list.d - plexmediaserver.list. But in this file everything is commented out.

#deb http://shell.ninthgate.se/packages/debian squeeze main
#deb http://shell.ninthgate.se/packages/debian squeeze main
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-03 14:35

stevepusser wrote:I believe it is related to that http://debian.net site. I don't think it's doing what it's supposed to, which is to find your fastest mirror.

Let's assume your software sources are in your /etc/apt/sources.list file, the most common location. You will have to launch a text editor with sudo and change the http://debian.net parts of the addresses so they appear like this:
Code: Select all
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


These three lines should be enough to get started with Debian. The contrib and non-free sections can be added to the end of each of the lines if you need anything from them, such as Adobe Flash, as in

Code: Select all
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free


For now, comment out any other line in that file with a # at the start of the line, save, and

Code: Select all
sudo apt-get update


Ok 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.


john@debian:~$ sudo apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Get:1 http://ftp.debian.org wheezy Release.gpg [1,655 B]
Get:2 http://ftp.debian.org wheezy-updates Release.gpg [836 B]
Get:3 http://ftp.debian.org wheezy Release [168 kB]
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://ftp.debian.org wheezy Release
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 149.20.20.6 80]
Get:4 http://ftp.debian.org wheezy-updates Release [124 kB]
Ign http://ftp.debian.org wheezy-updates Release
Get:5 http://ftp.debian.org wheezy/main amd64 Packages [5,841 kB]
Get:6 http://ftp.debian.org wheezy/main Translation-en [3,846 kB]
Get:7 http://ftp.debian.org wheezy-updates/main Translation-en [2,429 B]
Get:8 http://ftp.debian.org wheezy/main amd64 Packages [5,841 kB]
Err http://ftp.debian.org wheezy/main amd64 Packages
Bad header line [IP: 130.239.18.137 80]
Ign http://ftp.debian.org wheezy/main Translation-en_US
Ign http://ftp.debian.org wheezy/main Translation-en
Err http://ftp.debian.org wheezy-updates/main amd64 Packages
404 Not Found [IP: 130.239.18.137 80]
Ign http://ftp.debian.org wheezy-updates/main Translation-en_US
Ign http://ftp.debian.org wheezy-updates/main Translation-en
Fetched 2,491 B in 10min 16s (4 B/s)
W: Failed to fetch http://security.debian.org/dists/wheezy ... 4/Packages 404 Not Found [IP: 149.20.20.6 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/whee ... 4/Packages Bad header line [IP: 130.239.18.137 80]

W: Failed to fetch http://ftp.debian.org/debian/dists/whee ... 4/Packages 404 Not Found [IP: 130.239.18.137 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby Head_on_a_Stick » 2015-01-03 14:42

Your average download speed is listed as 4bytes/second -- I think your connection is just dropping out as you try to download the database.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-03 14:52

Head_on_a_Stick wrote:Your average download speed is listed as 4bytes/second -- I think your connection is just dropping out as you try to download the database.


Well that seems quite odd. I have pretty fast internet here. Could it be something else?
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby Head_on_a_Stick » 2015-01-03 15:19

FeedMeAStrayCat wrote:
Code: Select all
Fetched 2,491 B in 10min 16s (4 B/s)

APT doesn't lie...

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 ;)
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Unable to dl rsync package.

Postby aicardi » 2015-01-03 16:47

Would it be possible to actually post your /etc/apt/sources.list as well as anything in /etc/apt/sources.list.d?
Jessie/Xfce
User avatar
aicardi
 
Posts: 388
Joined: 2009-11-18 01:30
Location: Chicago

Re: Unable to dl rsync package.

Postby Head_on_a_Stick » 2015-01-03 16:50

@aicardi -- Read the first page of this thread; we've already done that ;)
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Unable to dl rsync package.

Postby aicardi » 2015-01-03 16:57

Head_on_a_Stick wrote:@aicardi -- Read the first page of this thread; we've already done that ;)

I did read that.
I also read this:
k 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.

I am curious on the 404's
Jessie/Xfce
User avatar
aicardi
 
Posts: 388
Joined: 2009-11-18 01:30
Location: Chicago

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-03 20:45

Head_on_a_Stick wrote:
FeedMeAStrayCat wrote:
Code: Select all
Fetched 2,491 B in 10min 16s (4 B/s)

APT doesn't lie...

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 ;)


Thank you for the hint on posting code :wink:

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.
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-03 20:52

aicardi wrote:Would it be possible to actually post your /etc/apt/sources.list as well as anything in /etc/apt/sources.list.d?


Here is the sources.list

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


/etc/apt/sources.list.d is a directory, but I am assuming you mean the config document within /etc/apt/sources.list.d

Code: Select all

#deb http://shell.ninthgate.se/packages/debian squeeze main
#deb http://shell.ninthgate.se/packages/debian squeeze main
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby dilberts_left_nut » 2015-01-03 22:17

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.

:wink:
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5106
Joined: 2009-10-05 07:54
Location: enzed

Re: Unable to dl rsync package.

Postby stevepusser » 2015-01-03 22:23

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:

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


Or you may be out of space in your root partition, per the error messages.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12290
Joined: 2009-10-06 05:53

Re: Unable to dl rsync package.

Postby sunrat » 2015-01-04 01:15

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!
User avatar
sunrat
 
Posts: 3482
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Unable to dl rsync package.

Postby FeedMeAStrayCat » 2015-01-04 13:56

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
FeedMeAStrayCat
 
Posts: 79
Joined: 2014-09-05 15:28

Re: Unable to dl rsync package.

Postby sunrat » 2015-01-04 14:24

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!
User avatar
sunrat
 
Posts: 3482
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable