Page 1 of 1

"apt-get update testing to stable" [FIXED]

Posted: Mon Jul 08, 2019 7:30 am
by 5t4n5
I just tried to update my Pi 4 and the following blurb came up. Could someone explain what i'm supposed to do now, please? I'm totally confused as to what it means and what i'm supposed to do with it. Thanks.

pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Re: Update confusing me...

Posted: Mon Jul 08, 2019 7:34 am
by PeterO
At a guess I would say this is due to Buster being officially released
https://www.debian.org/News/2019/20190706
PeterO

Re: Update confusing me...

Posted: Mon Jul 08, 2019 7:40 am
by Davent
Use command :-

sudo apt update

(instead of sudo apt-get update)

This will provide a "y" prompt which you can then accept and continue as normal.

Hope this solves it for you! Kind Regards. David.

Re: Update confusing me...

Posted: Mon Jul 08, 2019 7:41 am
by Ernst
5t4n5 wrote:
Mon Jul 08, 2019 7:30 am
I just tried to update my Pi 4 and the following blurb came up. Could someone explain what i'm supposed to do now, please? I'm totally confused as to what it means and what i'm supposed to do with it. Thanks.

pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Code: Select all

sudo apt update -y
solves the problem.

Re: Update confusing me...

Posted: Mon Jul 08, 2019 7:55 am
by PeterO
https://superuser.com/questions/1456989 ... er-release

"I had to do
apt-get update --allow-releaseinfo-change
once, and then the error disappeared."

Code: Select all

sudo apt-get update --allow-releaseinfo-change
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease               
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Contents (deb) [39.7 MB]                                                                  
Fetched 52.7 MB in 1min 15s (705 kB/s)                                                                                                                     
Reading package lists... Done
N: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
pi@raspberrypi:~ $ 
PeterO

Re: Update confusing me...

Posted: Mon Jul 08, 2019 8:00 am
by 5t4n5
Thank you all for super fast help. Much appreciated. All fixed. :D

Re: Update confusing me...

Posted: Mon Jul 08, 2019 8:01 am
by PeterO
I'm sure lots of people will be running into this today, so maybe the OP could change the title to something more informative (like "apt-get update testing to stable" and append [FIXED] as well.
PeterO

Re: Update confusing me...

Posted: Mon Jul 08, 2019 8:21 am
by 5t4n5
PeterO wrote:
Mon Jul 08, 2019 8:01 am
I'm sure lots of people will be running into this today, so maybe the OP could change the title to something more informative (like "apt-get update testing to stable" and append [FIXED] as well.
PeterO
Good idea. Done.

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 08, 2019 9:01 am
by Jaffacakemonster
I guess this is because Debian Buster was released today.

Is it worth waiting until this is fixed, I fear using:

apt-get update --allow-releaseinfo-change

Will do something irreversible or mess it up at a later date.

Thanks

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 08, 2019 9:18 am
by PeterO
Jaffacakemonster wrote:
Mon Jul 08, 2019 9:01 am
I guess this is because Debian Buster was released today.

Is it worth waiting until this is fixed, I fear using:

apt-get update --allow-releaseinfo-change

Will do something irreversible or mess it up at a later date.

Thanks
What are you basing that on ? There is nothng to fix !

Code: Select all

       --allow-releaseinfo-change
           Allow the update command to continue downloading data from a repository which changed its information of the release contained in
           the repository indicating e.g a new major release. APT will fail at the update command for such repositories until the change is
           confirmed to ensure the user is prepared for the change. See also apt-secure(8) for details on the concept and configuration.

PeterO

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 08, 2019 9:32 am
by rpdom
Jaffacakemonster wrote:
Mon Jul 08, 2019 9:01 am
I guess this is because Debian Buster was released today.

Is it worth waiting until this is fixed, I fear using:

apt-get update --allow-releaseinfo-change

Will do something irreversible or mess it up at a later date.

Thanks
There is no issue here.
Debian/Raspbian Stretch used to be the "stable" release and Buster was the "testing" release.

Now Buster is "stable" and Bullseye is "testing", Stretch is "oldstable".

The fix is required because of the change of the status of Buster. It won't break anything now or in the future.

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 08, 2019 3:13 pm
by rustyshamrock
There may be nothing to "fix", but it would be helpful if the buster download image was updated to reflect the change. Especially helpful if deploying using Ansible.

Re: "apt-get update testing to stable" [FIXED]

Posted: Thu Jul 11, 2019 2:33 am
by JPICentral
It is July 10, 2019 and the update after NOOBS install still gives, "sudo apt-get update && sudo apt-get upgrade -y
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details."

I am not a techno wizard, rather a BEGINNER! Why in "someone's name" would this be in a NOOBS distribution? Seems a little like an oxymoron? Even worse is the reference to go to apt-secure(8) manpage. This is a bit unsettling gobbly-goop that says nothing to an uninformed beginner.

The thread suggests several things that could make sense if I understood. I saw "FIXED." I saw nothing needs to be fixed. I saw sudo apt update with and without the -y. I saw the reason being that Buster was released today/yesterday ... So? I saw --allow-releaseinfo-change. I saw apt-get update --allow-releaseinfo-change.

This is supposed to be the BEGINNER forum where we can get solutions to our problems because we do not understand!

So, I reiterate the question to, "sudo apt-get update && sudo apt-get upgrade -y
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details."

Just give me the answer that I can use not debate or spend hours researching ...

So, please give this BEGINNER some assistance: "What command do I enter to explicitly accept the "whatever" to get any needed/required updates after I just installed Buster from NOOBS?" Thank you ...

Re: "apt-get update testing to stable" [FIXED]

Posted: Thu Jul 11, 2019 3:52 am
by JPICentral
BUSTER whether NOOBS or .img the steps I distilled and then tried and I am presuming they worked.

Download BUSTER from raspberrypi.org
NOOBS: move the NOOBS zip to a folder where the contents can be unpacked. THEN unpack.
Use the SD Card Formatter to format the target SDHC (32gb in my case)
When NOOBS is unpacked and the SD Card Formatter is done, select all the files EXCEPT the NOOBS.zip and drag and drop on to the SDHC card.

.img: unpack 2019-06-20-raspbian-buster-full.zip to get 2019-06-20-raspbian-buster-full.img
use balenaETCHER (formerly ETCHER) to flash this img file to a suitable SSD (240gb? in my case) or HD (2Tb in my case).

Separeately, do the following STEPS for the SDHC and the SSD and the HD:

Insert the prepared SDHC into the appropriate slot of a Pi (B,B+,ZERO,?)

STEPS
Follow on-screen instructions until the prompt for input is reached.
Instead of doing, I believe the usual sudo apt-get update && sudo apt-get upgrade -y
DO sudo apt update -y
THEN when complete, do reboot followed by the usual sudo apt-get update && sudo apt-get upgrade -y
THEN when complete, do reboot followed by the usual sudo apt-get dist-upgrade -y

There were 61 packages that were involved when I did this on the evening of 20190710!

When the SDHC was finished I REMOVED the SDHC.
THEN I used the same STEPS to create the OS on the SSD and the HD. after inserting the device USB dongle into an available USB port on the Pi

Hope this helps others who are also beginners ... regards

Re: "apt-get update testing to stable" [FIXED]

Posted: Thu Jul 11, 2019 6:11 am
by rpdom
JPICentral wrote:
Thu Jul 11, 2019 3:52 am
BUSTER whether NOOBS or .img the steps I distilled and then tried and I am presuming they worked.

.img: unpack 2019-06-20-raspbian-buster-full.zip to get 2019-06-20-raspbian-buster-full.img
use balenaETCHER (formerly ETCHER) to flash this img file to a suitable SSD (240gb? in my case) or HD (2Tb in my case).
Good instructions, but just one thing. When using Etcher you don't need to unpack the zip file first. Etcher will do that for you. One less step :)

Re: "apt-get update testing to stable" [FIXED]

Posted: Thu Jul 11, 2019 10:30 pm
by JPICentral
Did not know that about Etcher. I'll give that a try when I prepare some other SSD/HD. Thanks

Something I have found with BUSTER that was not a problem with STRETCH: The "SD Card Copier" likes SAMSUNG" 32gb SDHC cards; it does not like KINGSTON 32gb SDHC. I have 10 of each, different batches -- the Samsung work flawlessly while the Kingston fail with "Cannot create partition!". Interestingly, all the Kingston fail with the "new" Etcher, too. Old Etcher and STRETCH SD CC work fine. Testing the Kingston using various tools show no issues. Both the Samsung and the Kingston were formatted with the SD card formatter.

Not leaving well enough along, I dragged and dropped the NOOBS contents to several of the Kingston cards to learn if the Raspbian install would have an issue -- it found none and did the install.

I am certain the SD cards are good based on testing that has not failed me in the past!

Any thoughts of what in the changes might be causing this curosity?

Re: "apt-get update testing to stable" [FIXED]

Posted: Sat Jul 13, 2019 12:30 pm
by martinmarty
Hi JPICentral,

I have been using these Pis for a few years but I still consider myself a noob and still feel like a noob every time I go to do something with Linux especially every new release and some crazy new thing happens, so I can relate to your posts. Seems like every command is an adventure. Even when it has been working fine for years that doesn't mean they won't change it tomorrow.

Anyway, I'm replying to your post about the Kingston vs Samsung cards. I have had similar problems as I have bought more & more cards over time and they are different brands, different batches as you say, and thus may have slightly different sizes (or even 16GB vs 32GB). This made copying very difficult.

What has been a godsend for me has been a program called rpi-clone by billw.
You can find it on github: https://github.com/billw2/rpi-clone

It uses your working Pi to make a copy of your working Pi onto a card that you have attached in a USB card reader. The beauty thing is that they don't have to be exactly the same size. The only times I've had it fail were when I actually had bad cards.

After installing it, all you do it this (as root or with sudo):

fdisk -l (use this to determine the name of your "spare" msdhc card is, i.e. the target of your copy operation, let's say it is "sdc")

then you would do:

rpi-clone sdc -f -v (the f=format and v=verbose messages as it copies, I like to see that it is working)

Then follow the prompts, basically "yes" to confirm are-you-sure, "enter" to not enter a volume label (not needed by me) and then it copies. It takes about 15 or 20 minutes for my 32GB card that is mostly empty.

At the end, you hit Enter again to unmount, then you're done. I always shut down Pi, remove the copy and the card reader, boot the Pi from the copy so I know it was a good copy and then I run on that until next time I feel a backup is in order, then rinse and repeat.

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 15, 2019 4:04 pm
by dougiel
JPICentral wrote:
Thu Jul 11, 2019 2:33 am
It is July 10, 2019 and the update after NOOBS install still gives, "sudo apt-get update && sudo apt-get upgrade -y
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details."

I am not a techno wizard, rather a BEGINNER! Why in "someone's name" would this be in a NOOBS distribution? Seems a little like an oxymoron? Even worse is the reference to go to apt-secure(8) manpage. This is a bit unsettling gobbly-goop that says nothing to an uninformed beginner.

The thread suggests several things that could make sense if I understood. I saw "FIXED." I saw nothing needs to be fixed. I saw sudo apt update with and without the -y. I saw the reason being that Buster was released today/yesterday ... So? I saw --allow-releaseinfo-change. I saw apt-get update --allow-releaseinfo-change.

This is supposed to be the BEGINNER forum where we can get solutions to our problems because we do not understand!

So, I reiterate the question to, "sudo apt-get update && sudo apt-get upgrade -y
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details."

Just give me the answer that I can use not debate or spend hours researching ...

So, please give this BEGINNER some assistance: "What command do I enter to explicitly accept the "whatever" to get any needed/required updates after I just installed Buster from NOOBS?" Thank you ...
At the prompt (pi@raspberry$ <- the default prompt unless you changed it) type "sudo apt update" and answer the prompts, (your password and a "y", to accept the change from 'testing' to 'stable' software sources. If you have done a 'sudo ANYCOMMAND' with in a few minutes of entering "sudo apt update" you will not be asked for a password but if it does enter your password.

That is a simple as it gets for a beginner - just because there is no point and click answer does not mean the information is not for a beginner. A beginner is a person who is learning from their peers and trying things (sometimes breaking things) but always learning from mistakes... follow the forums and don't be afraid to try things out. In my case I always keep 2 system sd cards configured and if I wreck something then I seize the moment and try to learn... I always learn something (sometimes I just learn what a good idea a duplicate sd card for back up)

Don't get frustrated and stick with the raspberry pi it is by far the easiest way to learn linux - there is thousands of users that have the exact same software and hardware... this is very significant. With PC's there are hundreds of variations to thousands of different computers with different flavors of software, the pi is standard cookie cutter config that will have the same issues as thousands of other users who will gladly help you out when the need arises.

Re: "apt-get update testing to stable" [FIXED]

Posted: Mon Jul 15, 2019 8:03 pm
by ejjaquay
Why am I still getting /testing updates? I thought Buster was now stable.

chromium-browser-l10n/testing 74.0.3729.157-rpt5 all [upgradable from: 74.0.3729.157-rpt2]
chromium-browser/testing 74.0.3729.157-rpt5 armhf [upgradable from: 74.0.3729.157-rpt2]
chromium-codecs-ffmpeg-extra/testing 74.0.3729.157-rpt5 armhf [upgradable from: 74.0.3729.157-rpt2]
libfm-data/testing 1.3.1-1+rpt6 all [upgradable from: 1.3.1-1+rpt5]
libfm-extra4/testing 1.3.1-1+rpt6 armhf [upgradable from: 1.3.1-1+rpt5]
libfm-gtk-data/testing 1.3.1-1+rpt6 all [upgradable from: 1.3.1-1+rpt5]
libfm-gtk4/testing 1.3.1-1+rpt6 armhf [upgradable from: 1.3.1-1+rpt5]
libfm-modules/testing 1.3.1-1+rpt6 armhf [upgradable from: 1.3.1-1+rpt5]
libfm4/testing 1.3.1-1+rpt6 armhf [upgradable from: 1.3.1-1+rpt5]
libraspberrypi-bin/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
libraspberrypi-dev/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
libraspberrypi-doc/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
libraspberrypi0/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
libzmq5/stable 4.3.1-4+deb10u1 armhf [upgradable from: 4.3.1-4]
raspberrypi-bootloader/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
raspberrypi-kernel/testing 1.20190709-1 armhf [upgradable from: 1.20190620+1-1]
raspi-config/testing 20190709 all [upgradable from: 20190620]
rc-gui/testing 1.28 armhf [upgradable from: 1.27]
rpi-chromium-mods/testing 20190708 armhf [upgradable from: 20190613]

Re: "apt-get update testing to stable" [FIXED]

Posted: Thu Jul 18, 2019 12:31 pm
by ShiftPlusOne
Because the archive.raspberrypi.org repo hasn't updated buster to stable yet. I plan to do that just before the next image release to avoid the situation where the first run wizard doesn't work again as a result.

Re: "apt-get update testing to stable" [FIXED]

Posted: Tue Jul 23, 2019 7:43 am
by JPICentral
I tried using balenaETCHER without unzipping. It worked like a charm. Thank you!

I'll try: What has been a godsend for me has been a program called rpi-clone by billw.
You can find it on github: https://github.com/billw2/rpi-clone

... the next time I bash my OS SDHC card. I am finding that the provided SD CARD COPY is excellent though it has some rather curious results. It does not like 16gb SDHC cards in my experience. I have found it will copy a 32gb SDHC to a 2tb without a problem most of the time -- surprisingly it works when done. I have done a 640gb SSD to a 2tb HD. It also worked I have also done a 2tb to a 2tb both HDD. May as well mention that I have copied the 2tb HD to the 640 SSD using the SD CARD COPIER with success.

Where I find a problem on the 640gb drives is if I add something (say 2gb of data) to the source 640gb /media/pi/DIRECTORY (I have tried poking stuff into the /home/pi/DIRECTORY, too) the boot sequence in BUSTER goes quiet after the four (4) raspberries appear on the screen requiring a manual power-off to get the Pi going again. When this happens I have to reflash or drag&drop the OS and start over.

Speaking of SD cards, I have had so-so luck with SanDisk of the 32gb Class 10 cards. Curiously, if I get OS on the SanDisk, it works -- even through updates. The cards check ok on every test I can find -- go figure?

Re: Update confusing me...

Posted: Wed Jul 24, 2019 3:22 pm
by captain69
Davent wrote:
Mon Jul 08, 2019 7:40 am
sudo apt update
While this does allow apt-get to work again, does it reduce the newly implemented "security" features which appear to be the cause of the bemusement regarding this new release? i.e. Does running "apt update" and answering Yes remove the checks that buster's new apt system has implemented to ostensibly mitigate potential harm from untrusted repositories?