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.
-
- Posts: 79
- Joined: 2014-09-05 15:28
Unable to dl rsync package.
I am having an issue using apt-get install to grab rsync.
Here's my output,
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rsync
As you can see from my sources list I have tried throwing quite a few sources at it, but still nothing. I have also tried apt-get update and apt-get upgrade.
What am I screwing up?
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official amd64 CD Binary-1 201407$
#deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official amd64 CD Binary-1 2014071$
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
#VB dep
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
#Plex Dep
deb http://shell.ninthgate.se/packages/debian wheezy main
deb http://plex.originet.eu/ stable main
#Testing this repo to see if i can dl rsync, https://www.debian.org/releases/sta$
deb http://security.debian.org/ wheezy/updates main contrib non-free
#http://blog.netflowdevelopments.com/201 ... new-debian$
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
Here's my output,
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rsync
As you can see from my sources list I have tried throwing quite a few sources at it, but still nothing. I have also tried apt-get update and apt-get upgrade.
What am I screwing up?
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official amd64 CD Binary-1 201407$
#deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official amd64 CD Binary-1 2014071$
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
#VB dep
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
#Plex Dep
deb http://shell.ninthgate.se/packages/debian wheezy main
deb http://plex.originet.eu/ stable main
#Testing this repo to see if i can dl rsync, https://www.debian.org/releases/sta$
deb http://security.debian.org/ wheezy/updates main contrib non-free
#http://blog.netflowdevelopments.com/201 ... new-debian$
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
- 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.
It is definitely there:
https://packages.debian.org/wheezy/rsync
If you have run `apt-get upgrade` with those sources (especially squeeze), you may have borked your system...
Put your sources.list back to stock, run these commands and post the output of the last 2 commands:
https://packages.debian.org/wheezy/rsync
If you have run `apt-get upgrade` with those sources (especially squeeze), you may have borked your system...
Put your sources.list back to stock, run these commands and post the output of the last 2 commands:
Code: Select all
# apt-get update
aptitude search rsync
aptitude -s full-upgrade
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Thanks for the reply, will run this when I get home today.
When you say bring your sources list back to stock do you mean these three dep's?
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
When you say bring your sources list back to stock do you mean these three dep's?
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Unable to dl rsync package.
How about if you run
The output should be something like (except you don't have it installed)
If you don't see it as available, do you see any errors when running
Code: Select all
apt-cache policy rsync
Code: Select all
rsync:
Installed: 3.0.9-4
Candidate: 3.0.9-4
Version table:
*** 3.0.9-4 0
800 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
100 /var/lib/dpkg/status
Code: Select all
su -c 'apt-get update'
MX Linux packager and developer
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Output of the first command,Head_on_a_Stick wrote:It is definitely there:
https://packages.debian.org/wheezy/rsync
If you have run `apt-get upgrade` with those sources (especially squeeze), you may have borked your system...
Put your sources.list back to stock, run these commands and post the output of the last 2 commands:Code: Select all
# apt-get update aptitude search rsync aptitude -s full-upgrade
aptitude search rsync
W: Duplicate sources.list entry http://shell.ninthgate.se/packages/debian/ squeeze/main amd64 Packages (/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_squeeze_main_binary-amd64_Packages)
W: You may want to update the package lists to correct these missing files
These seems very strange to me since I updated the the sources list with the three deps. Not sure where this duplicate sources list is coming from?
And the second command,
aptitude -s full-upgrade
The following packages will be upgraded:
plexmediaserver
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 120 MB of archives. After unpacking 0 B will be used.
Here is the output from the command,stevepusser wrote:How about if you run
The output should be something like (except you don't have it installed)Code: Select all
apt-cache policy rsync
If you don't see it as available, do you see any errors when runningCode: Select all
rsync: Installed: 3.0.9-4 Candidate: 3.0.9-4 Version table: *** 3.0.9-4 0 800 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages 100 /var/lib/dpkg/status
Code: Select all
su -c 'apt-get update'
apt-cache policy rsync
N: Unable to locate package rsync
And the other command, I am being asked to input a pw for the user.
su -c 'apt-get update'
Password:
su: Authentication failure
- 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 probably have extra sources in /etc/apt/sources.list.d/ -- delete these as well.
When you ran the `apt-get update` command, did you get any error messages?
Did you run that command with root privileges?
Run it again (as above) after you have purged all the extra sources from your system.
When you use `su -c` you need to give the root password (not the password you login with) -- this would have been set by yourself during the installation process.
When you ran the `apt-get update` command, did you get any error messages?
Did you run that command with root privileges?
Code: Select all
su -c 'apt-get update'
When you use `su -c` you need to give the root password (not the password you login with) -- this would have been set by yourself during the installation process.
deadbang
Re: Unable to dl rsync package.
As a rule of thumb you will want to put as many entries in your sources.list as you can find.
Mainly if you are a beginner.
Mainly if you are a beginner.
- 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.
@OP: Just ignore @scnuller, that's his idea of a joke.
Please read the bottom link in my signature if you are in any doubts.
Please read the bottom link in my signature if you are in any doubts.
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Here is the output of the command, I ran the command with sudo because I never created a root user so to speak. After I ran the command with sudo I got this.Head_on_a_Stick wrote:You probably have extra sources in /etc/apt/sources.list.d/ -- delete these as well.
When you ran the `apt-get update` command, did you get any error messages?
Did you run that command with root privileges?Run it again (as above) after you have purged all the extra sources from your system.Code: Select all
su -c 'apt-get update'
When you use `su -c` you need to give the root password (not the password you login with) -- this would have been set by yourself during the installation process.
sudo su -c 'apt-get update'
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Ign http://security.debian.org wheezy/updates/main Translation-en
Err http://security.debian.org wheezy/updates/main Sources
404 Not Found [IP: 128.31.0.36 80]
Hit http://http.debian.net wheezy Release.gpg
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 128.31.0.36 80]
Hit http://http.debian.net wheezy-updates Release.gpg
Hit http://http.debian.net wheezy Release
Hit http://http.debian.net wheezy-updates Release
Hit http://http.debian.net wheezy/main Sources
Get:1 http://http.debian.net wheezy/main amd64 Packages [5,841 kB]
Get:2 http://http.debian.net wheezy/main Translation-en [3,846 kB]
Get:3 http://http.debian.net wheezy-updates/main Sources [1,805 B]
Get:4 http://http.debian.net wheezy-updates/main amd64 Packages [3,381 B]
Get:5 http://http.debian.net wheezy-updates/main Translation-en [2,429 B]
Err http://http.debian.net wheezy/main Translation-en
Bad header line
Err http://http.debian.net wheezy/main amd64 Packages
Bad header line
Err http://http.debian.net wheezy-updates/main Sources
Bad header line
Err http://http.debian.net wheezy-updates/main amd64 Packages
404 Not Found
Err http://http.debian.net wheezy-updates/main Translation-en
404 Not Found
Fetched 3,764 kB in 2min 12s (28.4 kB/s)
W: Failed to fetch http://security.debian.org/dists/wheezy ... ce/Sources 404 Not Found [IP: 128.31.0.36 80]
W: Failed to fetch http://security.debian.org/dists/wheezy ... 4/Packages 404 Not Found [IP: 128.31.0.36 80]
W: Failed to fetch http://http.debian.net/debian/dists/whe ... 4/Packages Bad header line
W: Failed to fetch http://http.debian.net/debian/dists/whe ... slation-en Bad header line
W: Failed to fetch http://http.debian.net/debian/dists/whe ... ce/Sources Bad header line
W: Failed to fetch http://http.debian.net/debian/dists/whe ... 4/Packages 404 Not Found
W: Failed to fetch http://http.debian.net/debian/dists/whe ... slation-en 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: Unable to dl rsync package.
Execute the following and post the results
Code: Select all
sudo apt-get autoclean
sudo apt-get update
apt-cache search rsync
sudo apt-get -s -f dist-upgrade
How did you install debian? Usual debian installer asks for root password.FeedMeAStrayCat wrote:I ran the command with sudo because I never created a root user so to speak.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Unable to dl rsync package.
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:
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
For now, comment out any other line in that file with a # at the start of the line, save, and
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
Code: Select all
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
Code: Select all
sudo apt-get update
Last edited by stevepusser on 2015-01-03 00:16, edited 1 time in total.
MX Linux packager and developer
- 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 of:
Just in case ©
Code: Select all
ls /etc/apt/sources.list.d/
deadbang
Re: Unable to dl rsync package.
I'm pretty sure you can create sudo during installation (probably have to say "No" when it comes to the root password, or something like that, say leave the pw blank. Was rather intuitive, as far it's me, but i can't remember the details).kiyop wrote:How did you install debian? Usual debian installer asks for root password.FeedMeAStrayCat wrote:I ran the command with sudo because I never created a root user so to speak.
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Ok ran the following commands here is the output. As for sudo, when you install you are given the option to leave the root pw blank. So there isn't a root pw.kiyop wrote:Execute the following and post the resultsCode: Select all
sudo apt-get autoclean sudo apt-get update apt-cache search rsync sudo apt-get -s -f dist-upgrade
How did you install debian? Usual debian installer asks for root password.FeedMeAStrayCat wrote:I ran the command with sudo because I never created a root user so to speak.
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.
john@debian:~$ sudo apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://http.debian.net wheezy Release.gpg
Get:1 http://http.debian.net wheezy-updates Release.gpg [836 B]
Err http://http.debian.net wheezy-updates Release.gpg
Error writing to output file - write (28: No space left on device)
Hit http://http.debian.net wheezy Release
Ign http://http.debian.net wheezy-updates Release
Ign http://security.debian.org wheezy/updates/main Translation-en
Err http://security.debian.org wheezy/updates/main Sources
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 149.20.20.6 80]
Get:2 http://http.debian.net wheezy-updates/main amd64 Packages [3,381 B]
Hit http://http.debian.net wheezy/main Sources
Ign http://http.debian.net wheezy-updates/main Translation-en_US
Hit http://http.debian.net wheezy/main amd64 Packages
Get:3 http://http.debian.net wheezy-updates/main Sources [1,805 B]
Get:4 http://http.debian.net wheezy-updates/main Translation-en [2,429 B]
Ign http://http.debian.net wheezy/main Translation-en
Err http://http.debian.net wheezy-updates/main amd64 Packages
404 Not Found
Err http://http.debian.net wheezy/main amd64 Packages
rename failed, No such file or directory (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_main_binary-amd64_Packages -> /var/lib/apt/lists/partial/http.debian.net_debian_dists_wheezy_main_binary-amd64_Packages).
Err http://http.debian.net wheezy/main amd64 Packages
Bad header line
Fetched 7,615 B in 2min 2s (62 B/s)
W: Failed to fetch http://http.debian.net/debian/dists/whe ... elease.gpg Error writing to output file - write (28: No space left on device)
W: Failed to fetch http://security.debian.org/dists/wheezy ... ce/Sources 404 Not Found [IP: 149.20.20.6 80]
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://http.debian.net/debian/dists/whe ... 4/Packages Bad header line
W: Failed to fetch http://http.debian.net/debian/dists/whe ... 4/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
john@debian:~$ apt-cache search rsync
john@debian:~$ sudo apt-cache search rsync
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.
john@debian:~$ sudo apt-get -s -f dist-upgrade
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.
john@debian:~$
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
There is something in /etc/apt/sources.list.d - plexmediaserver.list. But in this file everything is commented out.Head_on_a_Stick wrote:Post the output of:Just in case ©Code: Select all
ls /etc/apt/sources.list.d/
#deb http://shell.ninthgate.se/packages/debian squeeze main
#deb http://shell.ninthgate.se/packages/debian squeeze main
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
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.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: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 inCode: 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
For now, comment out any other line in that file with a # at the start of the line, save, andCode: Select all
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
Code: Select all
sudo apt-get update
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.
- 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.
Your average download speed is listed as 4bytes/second -- I think your connection is just dropping out as you try to download the database.
deadbang
-
- Posts: 79
- Joined: 2014-09-05 15:28
Re: Unable to dl rsync package.
Well that seems quite odd. I have pretty fast internet here. Could it be something else?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.
- 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.
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
deadbang