Page 1 of 1

The value 'buster' is invalid for APT::Default-Release...

PostPosted: 2018-01-20 13:09
by Argus
Hi all. I recently downloaded the raspberry pi 3 preview image running debian testing (or so I believe). However, I can't do anything with apt. I get the following error:

The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources.

Note that I do not have an internet connection on said machine and am using the debian-testing-arm64-DVD-1.iso image loaded into apt via apt-cdrom. I'm pretty sure I would get the same error with an internet connection and the main repository also, though.

Edit: It looks like running apt-get update is a recommended fix, but how can i do this with an offline system?

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-20 14:49
by bw123
Why didn't you just use the debian-testing-arm64-DVD-1 to install? You might be able to hack the setup to get it to do what you want, but you'll need to read up about apt, sources.list and APT::Default-Release. If the man pages aren't installed you can get to them online.

People on the forum likely won't know about that preview, because we don't run it, and have no idea how it is setup.

I wouldn't want a 'preview' myself. Maybe you can take note of how it is setup on that hardware, then use those ideas for your new install?

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-20 19:27
by stevepusser
The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources.


So...what are your sources?

Code: Select all
cat /etc/apt/sources.list

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-23 06:16
by llivv
you might want to edit your OP title to include rasberrypi
thanks

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-23 06:53
by pylkko
IIRC, you need to 1) create a mount point 2) mount the iso using a loop device to that place 3) then apt-cdrom -d=/mntISO add. After that you use it exactly like an online source, do apt update, then for example apt install whatever.

Is this what you have done?

Btw. does this mean that the bootloader can now boot a vanilla kernel?

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-24 23:36
by Argus
Hey guys. Have been incredibly busy lately and not had time to work on this further, but I will do so soon and get back with the results.

> pylkko
That's exactly what I did. It works on other systems with stretch. I think something with Apt and the testing iso I downloaded just don't match. I downloaded the iso labeled 'buster' in addition to the 'testing' weekly build, so I'll try that next. And if all else fails, I'll hook it up via ethernet and try the default repo. I just don't understand what's wrong with the iso, and why it can't find 'buster' or testing', which are both there. The architecture matches and everything.

>llivv
Yeah, I considered that. But I doubt this is specific to the pi. It's just not understanding how apt is configured. I've found other questions in regards to the same error searching online, but none with answers that I was able to apply.

> bw123
I may try that next, if I can't figure out how to configure apt.

P.S. It was kind of hard to find this, being that it was moved to off-topic. Any reason this doesn't qualify as a regular question?

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-01-25 00:00
by GarryRicketson
by Argus »P.S. It was kind of hard to find this, being that it was moved to off-topic. Any reason this doesn't qualify as a regular question?

I am NOT a moderator, and only a moderator or admin that moved it can answer that, but my guess is, because it is not a official Debian release,
it almost falls into "another distro" class, the main board is intended for specifically Debian, and when it is other distros, or mixes based on Debian they are discussed in the off topic board, ....No big deal, since you are new here, and apparently new to Debian, obviously you didn't realize that.
Sometimes they send the OP a PM , with a explanation but I guess this time
who ever moved it did not do that.

https://wiki.debian.org/RaspberryPi3

RaspberryPi3

The Raspberry Pi 3 is a version of the RaspberryPi which was released in February 2016. It contains a 1.2 GHz ARM Cortex-A53 CPU and hence is the first version of the RaspberryPi to support the arm64 architecture.

Debian buster runs on the Raspberry Pi 3, but there are a few issues preventing us from releasing an official image: ---snip---


Any way, there is some information on the Debian website, and also we do have some other members experienced with Raspberry Pi 3, and also Buster, (debian testing) which is not yet a official release either, all though plans are to name it Buster when released.
from: https://wiki.debian.org/RaspberryPi
Generally, your best bet is to use Raspbian- which is (mostly) Debian armhf rebuilt by members of Debian for the RPi's ARMv6+VFP2 ARM variant. Raspbian releases usually follow the corresponding Debian release but do deviate in a handful of cases for various reasons.

Re: The value 'buster' is invalid for APT::Default-Release..

PostPosted: 2018-02-21 13:11
by JueShire
Argus wrote:The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources.


I had the same issue, it's a conflict between
Code: Select all
/etc/apt/apt.conf.d/08default-release
and
Code: Select all
/etc/apt/sources.list

The latter had 'unstable' listed, whereas the former said 'buster' - but 'buster' is 'testing' and not 'unstable'. So you have to change either 'buster' into 'sid', or 'unstable' into testing' (I recommend to do the latter unless you're an adventurous kind of person).

Cheers,
Jürgen