bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to upgrade to bleeding edge Debian GNU/Hurd


From: jbranso
Subject: How to upgrade to bleeding edge Debian GNU/Hurd
Date: Wed, 24 May 2023 21:08:33 +0000

May 22, 2023 7:01 PM, "Samuel Thibault" <samuel.thibault@gnu.org> wrote:

> jbranso@dismail.de, le lun. 22 mai 2023 11:48:35 -0400, a ecrit:
> 
>> +#### Trying out rumpdisk
>> +
>> +<!-- Is these two image files essentially the same?
>> +If they are not then this guide might not work.
>> +https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd-20220824.img
>> +https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd.img.tar.gz
> 
> The latter is a symlink to the former. For seeing working long-term,
> better just use the latter.
> 
>> +First,
>> +upgrade to the bleeding edge Debian GNU/Hurd:
>> +
>> + $ wget
>> http://ftp.de.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyrin
>> _2023.02.01_all.deb
>> + # dpkg -i debian-ports-archive-keyring_2023.02.01_all.deb
> 
> There shouldn't be any need to install that keyring by hand. With the
> proposed images you should already have it installed. If no then it's
> the images that need fixing, not the documentation.

So I just downloaded the debian-hurd-20220824.img, which looks like the latest 
debian image.

I ran it in qemu with:

qemu-system-i386 -machine accel=kvm -display curses -net nic -m 4G -net 
user,hostfwd=tcp::5555-:22
--no-reboot -drive format=raw,cache=writeback,file=debian-hurd-20220824.img

I did try updating to bleeding edge Debian GNU/Hurd via this guide:

https://www.debian.org/ports/hurd/hurd-install

Specifically

If you have used a snapshot later than the 2021 release, you can add these 
sources to get the most
recent packages:

deb http://deb.debian.org/debian-ports unstable main
deb-src http://deb.debian.org/debian unstable main
deb http://deb.debian.org/debian-ports unreleased main

Update, install the debian-ports-archive-keyring package, and update again.

If when doing your first apt, dpkg complains of missing programs, get root in a 
login shell (i.e.
su -, not just su).

So I did add these sources to /etc/apt/sources.list.

I tried updating with "sudo apt update; sudo apt upgrade" I got error messages 
saying that this was
an insecure operation
and apt was not going to let me upgrade. :( Perhaps I should have tried "su -", 
then tried
upgrading.  Can anyone else confirm that the latest qemu image does not have 
the proper debian-ports-archive-keyring package installed?  Do we need to 
update the debian qemu image?


I was able to upgrade to the latest hurd via 

wget 
http://ftp.de.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2023.02.01_all.deb
dpkg -i debian-ports-archive-keyring_2023.02.01_all.deb
apt upgrade
apt dist-upgrade


I know that is insecure, but I couldn't figure out how else to upgrade.  Also 
it looks like a have rumpdisk booting on my debian qemu machine.  Good times!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]