LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-22-2015, 08:35 AM   #1
alex.t
LQ Newbie
 
Registered: Jan 2009
Location: Montréal, Québec, Canada
Distribution: Debian Jessie
Posts: 25

Rep: Reputation: 0
Unable to find expected entry 'main/binary-toto/Packages' in Release file


Hello,

i have this error with "apt-get update". I am on jessie/sid. Here is my source.list

deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ unstable main

I searched for 'binary-toto' specifically, found nothing. This package seems me very strange

Please help

Thanks
 
Old 03-23-2015, 02:28 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Look in /etc/apt/sources.list.d/
 
Old 03-24-2015, 05:54 PM   #3
alex.t
LQ Newbie
 
Registered: Jan 2009
Location: Montréal, Québec, Canada
Distribution: Debian Jessie
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by descendant_command View Post
Look in /etc/apt/sources.list.d/
hum... it's empty...???
 
Old 03-24-2015, 08:07 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Your sources.list is confusing APT. You are calling for 2 completely different repos. Testing and Sid (unstable).

Sources.list for;
testing
Code:
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
## deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main non-free contrib
## deb-src http://security.debian.org/ testing/updates main

# testing-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ testing-updates main non-free contrib
## deb-src http://ftp.us.debian.org/debian/ testing-updates main non-free contrib
Sid
Code:
deb http://ftp.us.debian.org/debian/ sid main contrib non-free
## deb-src http://ftp.us.debian.org/debian/ sid main contrib non-free
If you installed testing and then added the Sid repo to it and have run a package upgrade you have upgraded your packages to Sid. As the testing repos are still listed, however, it is looking for the package list for testing. It is not finding it because the one available is for Sid.

Test this by commenting out either the first 4 lines in your sources.list. I suspect you will have no trouble with the first 4 commented out.

If not then you really don't have a problem at all. Just leave them commented out. Run Sid. On my hardware it runs a tad better than testing anyway. Has for most of this dev cycle.

I am running update/upgrades on my installs right now. To illustrate the confusion your poor system is experiencing, at least I think this is th problem, I have these packages to upgrade in my most basic testing install;
Code:
The following packages will be upgraded:
  debconf debconf-i18n libavcodec56 libavformat56 libavresample2 libavutil54 libpostproc53 libswresample1 libswscale3 tzdata
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
A very similar install of sid has these;
Code:
The following packages will be upgraded:
  libtiff5 python-pygments
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
These have, on my system, the update/upgrade cycles run about simultaniously as it is done in chroot from my main use OS another Sid install. So they were done at the same time yesterday evening. These are what has been added since that time.

So if you installed testing and then added the unstable repos without removing or commenting out the testing repos you are running testing as far as APT knows but your package list is reading all Sid packages.

Your error is for "in Release". Testing and Sid are 2 different releases.

Yes I know, if you check /etc/debian_version in either testing or unstable installs it will read the same at this time (8.0) which is correct as far as it goes. Problem is that unstable is still ahead of testing in that all packages go to Sid first and then migrate to the testing repos.

You can have your sources.list set up that way so as to be able to use the newer and less tested packages from sid if you want but you have to pin the repos so that testing packages are prefered. Without doing that the default is to go with the newest packages which would be from sid.

So getting rid of the testing repos and running your package upgrade with just the Sid repos enabled should solve your problem. You are doing that anyway so it will make no difference to the behaviour of your OS. But APT will be much happier.
 
Old 03-25-2015, 08:57 AM   #5
alex.t
LQ Newbie
 
Registered: Jan 2009
Location: Montréal, Québec, Canada
Distribution: Debian Jessie
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by widget View Post
Your sources.list is confusing APT. You are calling for 2 completely different repos. Testing and Sid (unstable).
thank you for the detailed reply. I must be confused - I thought I saw somewhere the possibility to share testing and sid, but apparently it is quite more complex. I will try this evening and come back to you.
 
Old 03-25-2015, 03:50 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Debian discourages mixing testing and unstable repos into Stable releases. They don't have that policy when it comes to testing.

I have the experimental repo enabled in all testing and sid installs. That repo doesn't represent any Debian version so you don't get those packages automatically. Some are there now as they can't be migrated to testing while it is in freeze as the base version number is different than the target version. LibreOffice is an exampl. The 4.4 version is pretty interesting with a lot of little improvements. Have it installed on one of my installs.

The easy way to grab a package from unstable into a testing install is to have the unstable repo commented out. You make sure testing is completely upgraded and then uncomment the unstable repo, run "apt-get update", install the package you want, comment the unstable repo again and run "apt-get update" to get rid of those packages in your package list. This is fine for one package. If you want to be able to get packages fairly regularly from unstable you need to get the priorities pinned so that testing versions are always prefered and then use;
Code:
apt-get -t unstable install <package name>
to install your wanted unstable package.
 
Old 03-26-2015, 12:52 PM   #7
alex.t
LQ Newbie
 
Registered: Jan 2009
Location: Montréal, Québec, Canada
Distribution: Debian Jessie
Posts: 25

Original Poster
Rep: Reputation: 0
hum, i left only sid, made "apt-get upgrade", but after that "apt-get update" gives the same error "Unable to find expected entry 'main/binary-toto/Packages' in Release file"
 
Old 03-27-2015, 01:35 AM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Well I don't like that at all.

Simple things first; try a different server. I see you, like I am, are pretty much on the border. Kind of a wet trip to the nearest border for you but dry for me.

The address;
ftp.us.debian.org

doesn't refer, somehow, to an actual repo. It refers to one in the US that is close to your location. I doubt seriously that you are connected to the repo in Washington State that I am using that same address.

Look at the debian mirrors list;
https://www.debian.org/mirror/list

You can try the generic Canadian repo. It may be great. Dont ignore the lower list of "secondary" mirrors. See if there is one close to you.

I know that apt-spy pointed me at the Calgary mirror as my best bet for a long time. It was quite a bit more reliable and faster for me. It is not now but I keep it in mind.

apt-spy is a great package and quite handy but you need to run it several times, at different times of day to actually get good data. You may want to try it sometime. Read the man page first and put some limits on it or it will check every mirror world wide. Takes about 15 seconds per mirror. Hitting all of them can add right up to some serious time.

I limit it to North America. Have hit a good one in Mexico. You might want to limit it to Canada and the US.

If changing mirrors doesn't do it we will see about regenerating some files in your install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to find packages missing from DVD for this exact release of RHEL? leniviy Red Hat 4 04-23-2013 02:06 AM
sudo entry for running binary file deepak_message Linux - Server 1 06-12-2012 01:13 AM
How to release /dev entry of unplugged storage device while a program has a file open 10110111 Linux - Software 4 11-09-2009 02:21 PM
apt-get unable to find packages dhoro Debian 4 12-28-2004 09:40 AM
Where can i find KDE Binary Packages for Mandrake 9.1? kromatic Mandriva 1 12-26-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration