User avatar
DougieLawson
Posts: 40581
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Jessie, apt-get dist-upgrade and 404's

Sun Dec 01, 2013 2:53 am

Yesterday I saw an interesting post about Jessie. So download and installed her overnight, no problems so far.

Tonight I thought I'd see if any packages needed an update so ran my usual
apt-get update && apt-get dist-upgrade # which is normal practice on a brand new distro

That fails with

Code: Select all

root@pi ~ # apt-get update && apt-get dist-upgrade
Ign http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Ign http://archive.raspberrypi.org jessie Release.gpg
Hit http://dist.quick2wire.com wheezy InRelease
Ign http://archive.raspberrypi.org jessie Release
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://dist.quick2wire.com wheezy/main Sources
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://repository.wolfram.com stable InRelease
Hit http://dist.quick2wire.com wheezy/main armhf Packages
Hit http://repository.wolfram.com stable/non-free armhf Packages
Err http://archive.raspberrypi.org jessie/main armhf Packages
  404  Not Found [IP: 2a00:1098:0:82:1000:13:0:6 80]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://repository.wolfram.com stable/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://repository.wolfram.com stable/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://dist.quick2wire.com wheezy/main Translation-en_GB
Ign http://dist.quick2wire.com wheezy/main Translation-en
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/binary-armhf/Packages  404  Not Found [IP: 2a00:1098:0:82:1000:13:0:6 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@pi ~ # 
If I disable my V6toV4 IPv6 tunnel then I get

Code: Select all

root@pi ~/ipv6 # apt-get update && apt-get dist-upgrade
Hit http://mirrordirector.raspbian.org jessie InRelease
Ign http://archive.raspberrypi.org jessie InRelease
Ign http://archive.raspberrypi.org jessie Release.gpg
Hit http://dist.quick2wire.com wheezy InRelease
Ign http://archive.raspberrypi.org jessie Release
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://repository.wolfram.com stable InRelease
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://dist.quick2wire.com wheezy/main Sources
Err http://archive.raspberrypi.org jessie/main armhf Packages
  404  Not Found [IP: 93.93.130.214 80]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Hit http://dist.quick2wire.com wheezy/main armhf Packages
Hit http://repository.wolfram.com stable/non-free armhf Packages
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://dist.quick2wire.com wheezy/main Translation-en_GB
Ign http://dist.quick2wire.com wheezy/main Translation-en
Ign http://repository.wolfram.com stable/non-free Translation-en_GB
Ign http://repository.wolfram.com stable/non-free Translation-en
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/main/binary-armhf/Packages  404  Not Found [IP: 93.93.130.214 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@pi ~/ipv6 #
Can we get the missing stuff needed for Jessie added? Thanks.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade and 404's

Sun Dec 01, 2013 5:18 am

The update and upgrade has been working fine for months on jessie, but there is some confusion on dist-upgrade. It gives me a dpkg error on three debs and fails error code 1, something about wayland being in another package when overwriting. I assume dist-upgrade is not safe for now. Any eta?
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade and 404's

Sun Dec 01, 2013 8:13 am

It seems wayland has not been made rpi to a high enough version yet so that a dist-upgrade would work. If you have done a dist-upgrade and got the error from dpkg of unmet dependencies, then apt-get -f install will fix one of the three errors. The other two will never go away until wayland is pied up. this seems to make future upgrades fail, until a working update will have been done.

Maybe you were lucky with a 404, as it did not lock you into waiting for wayland before upgrades of any package will work.
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

User avatar
DougieLawson
Posts: 40581
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie, apt-get dist-upgrade and 404's

Sun Dec 01, 2013 6:18 pm

Thanks for confirming that things are working for you.

I took a look at my /etc/apt/sources.list.d/ and found the offending item.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

plugwash
Forum Moderator
Forum Moderator
Posts: 3723
Joined: Wed Dec 28, 2011 11:45 pm

Re: Jessie, apt-get dist-upgrade and 404's

Mon Dec 02, 2013 4:33 pm

jackokring wrote:The update and upgrade has been working fine for months on jessie, but there is some confusion on dist-upgrade. It gives me a dpkg error on three debs and fails error code 1, something about wayland being in another package when overwriting. I assume dist-upgrade is not safe for now. Any eta?
Can you please post the complete errors you are getting?

plugwash
Forum Moderator
Forum Moderator
Posts: 3723
Joined: Wed Dec 28, 2011 11:45 pm

Re: Jessie, apt-get dist-upgrade and 404's

Mon Dec 02, 2013 5:41 pm

DougieLawson wrote:Yesterday I saw an interesting post about Jessie. So download and installed her overnight
What did you use to perform the installation?
Err http://archive.raspberrypi.org jessie/main armhf Packages
404 Not Found [IP: 2a00:1098:0:82:1000:13:0:6 80]
The raspberry pi foundation repository does not have packages specifically for jessie at this time. Their wheezy packages should be ok on jessie for the moment though.

User avatar
DougieLawson
Posts: 40581
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie, apt-get dist-upgrade and 404's

Tue Dec 03, 2013 1:02 am

I did the install by updating /etc/apt/sources.list then running apt-get update && apt-get upgrade (and answering all those "you've updated foo keep your copy or install the maintainers")

I've fixed the 404 by renaming /etc/apt/sources.list.d/raspi.list to raspi.list~ (I'll change it back when Jessie goes generally available.)

I'm very happy and I've not yet found anything that's broken in Jessie. I've been beta testing software for 20 years so nothing surprises me. I'm just not enough of an expert at apt-get and all of it's painful gotchas.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade and 404's

Tue Dec 03, 2013 3:59 am

plugwash wrote:
jackokring wrote:The update and upgrade has been working fine for months on jessie, but there is some confusion on dist-upgrade. It gives me a dpkg error on three debs and fails error code 1, something about wayland being in another package when overwriting. I assume dist-upgrade is not safe for now. Any eta?
Can you please post the complete errors you are getting?
Not currently as the pi is shut down. But something about fix this using apt-get -f install, which does not fix it. It fixes 1/3rd of the problem. There are still unresolved dependencies (only after trying a dist-upgrade, not before that), relating to wayland/weston version needing to be above 1.3 for some things, and it not being high enough, and was not installed. Failure was on 2 deb files, client and server wayland.

It seems the missing packages do not have rpi in the deb version, where as the ones less than version 1.3 do have an rpi in the version name, but apt-get E: complained. I assume the distro is not dist-upgrade able until these debs can install their dependencies.

The jessie was installed by just doing a wheezy->jessie in the sources. I added oracle-java7-jdk and wolfram-engine just fine (apart from long time update), X still works, nothing obviously is wrong with general operations, it just refuses to do sudo apt-get upgrade now without having these 2 errors. It was the first time I had tried sudo apt-get dist-upgrade on jessie when I got the errors.
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade and 404's

Tue Dec 03, 2013 12:58 pm

Other packages I installed were libreoffice, lazarus, qtcreator, eclipse and openjdk6. Beyond those it's all pretty standard. The control-D I need to do when my media volume is not plugged in is fstab related, and the system root is on USB with /boot being the only content of the SD. I did an rpi-update before trying the dist-upgrade yesterday.

Is there a way of clearing the apt-get of pending deb files, such that I can then try an upgrade? I can live without the dist-upgrade for quite a while, but I was just testing latest leading edge software. Is it possible to unwind the dist-upgrade, if it is not working for me? It did reduce the number of held back packages though from over 100?

For testing, would it be possible for you to pm me a code which could be used with a future command say rpi-debug-report, such that it would be sent to a server with a command set of your choice piped to a text file? just for the future like, as I'm not sure I could update/upgrade if it became available? ;) ;) Maybe it could auto fill out a forum response post too. 8-)
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade and 404's

Thu Dec 05, 2013 3:00 pm

And just to confirm the initial dist-upgrade worked and got me jessie, it's a second dist-upgrade which failed for me. (libwayland-server0/libwayland-client0) IIRC
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

vibez
Posts: 27
Joined: Thu Aug 15, 2013 11:30 am

Re: Jessie, apt-get dist-upgrade and 404's

Fri Dec 06, 2013 7:00 pm

Just out of interest is Jessie released yet?

User avatar
DougieLawson
Posts: 40581
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie, apt-get dist-upgrade and 404's

Fri Dec 06, 2013 8:03 pm

vibez wrote:Just out of interest is Jessie released yet?
Not that I've seen.

I'm an early user because I'm happy to find things that might not work when I install them. Not that I've found any bugs with Jessie.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Jessie, apt-get dist-upgrade

Sun Feb 23, 2014 4:03 am

The dist-upgrade seems to work now with some complaining, but no unsolvable errors. I haven't tried many things but X starts, and Mathematica works. There's a new version of the C compiler, and all the wayland errors have gone.
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

Return to “Raspberry Pi OS”