Berryboot manjaro image 19.06 isn't upgradeable, pacman-mirrors disappeared

Hello, I’m completely new to arch based linux distros, and so for berryboot.
I installed with berryboot some OSes on my Raspberry Pi 3B+ and figured out how to configure the WLAN internet access.

Then I wanted to upgrade the 19.06 with pamac, but it wasn’t able to upgrade the databases.
Therefor I tried pacman and pacman-mirrors, but I only got 404 errors for the repository.

I found on the net a codeline, that I tried: https://bpa.st/RQHA

I then tried a newer manjaro arm repository

sudo pacman -U http://eu.mirror.archlinuxarm.org/aarch64/core/pacman-mirrorlist-20210307-1-any.pkg.tar.xz

sudo pacman -U http://eu.mirror.archlinuxarm.org/aarch64/core/pacman-mirrorlist-20210307-1-any.pkg.tar.xz.sig

An older repository

sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/aarch64/core/pacman-mirrorlist-20200225-1-any.pkg.tar.xz

sudo pacman -U http://ftp.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/pacman-mirrorlist-20200217-1-any.pkg.tar.xz.sig

pacman-mirrors disapeared on that task, and I wasn’t able to upgrade the databases.

[floogy@manjaropi ~]$ uname -a
Linux manjaropi 5.10.43v64 #1 SMP PREEMPT Tue Jun 15 00:52:48 CEST 2021 aarch64 GNU/Linux
[floogy@manjaropi ~]$ cat /etc/os-release 
NAME="Manjaro-ARM"
ID=manjaro-arm
PRETTY_NAME="Manjaro ARM"
ANSI_COLOR="1;32"
HOME_URL="https://www.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/c/manjaro-arm/"

[floogy@manjaropi ~]$ lsb_release -a
LSB Version:    n/a
Distributor ID: Manjaro-ARM
Description:    (none)
Release:        19.06
Codename:       n/a
[floogy@manjaropi ~]$ sudo pacman -U http://eu.mirror.archlinuxarm.org/aarch64/core/pacman-mirrorlist-20210307-1-any.pkg.tar.xz
[sudo] Passwort für floogy: 
 pacman-mirrorlist-20210307-1-any                          2,6 KiB   322K/s 00:00 [##############################################] 100%
 pacman-mirrorlist-20210307-1-any.sig                    566,0   B   138K/s 00:00 [##############################################] 100%
Lade Pakete...
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...

Paket (1)          Alte Version  Neue Version  Netto-Veränderung

pacman-mirrorlist  20190617-1    20210307-1            -0,19 MiB

Gesamtgröße der installierten Pakete:   0,00 MiB
Größendifferenz der Aktualisierung:  -0,19 MiB

:: Installation fortsetzen? [J/n] 
(1/1) Prüfe Schlüssel im Schlüsselring                                            [##############################################] 100%
(1/1) Überprüfe Paket-Integrität                                                  [##############################################] 100%
(1/1) Lade Paket-Dateien                                                          [##############################################] 100%
(1/1) Prüfe auf Dateikonflikte                                                    [##############################################] 100%
(1/1) Überprüfe verfügbaren Festplattenspeicher                                   [##############################################] 100%
:: Verarbeite Paketänderungen...
(1/1) Aktualisiere pacman-mirrorlist                                              [##############################################] 100%
Warnung: /etc/pacman.d/mirrorlist installiert als /etc/pacman.d/mirrorlist.pacnew
:: Starte post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[floogy@manjaropi ~]$ sudo pacman-mirrors --country all -g --branch stable && sudo pacman -Syyu
sudo: pacman-mirrors: Befehl nicht gefunden
[floogy@manjaropi ~]$ pac
pacat              paclist            pacman-conf        pacmd              pacsort            
paccache           paclog-pkglist     pacman-db-upgrade  pacscripts         pactl              
pacdiff            pacman             pacman-key         pacsearch          pactree            
[floogy@manjaropi ~]$ pacman-db-upgrade
==> FEHLER: Sie müssen über die korrekten Berechtigungen verfügen, um die Datenbank zu aktualisieren.
[floogy@manjaropi ~]$ sudo pacman-db-upgrade
[floogy@manjaropi ~]$ lsb_release -a
LSB Version:    n/a
Distributor ID: Manjaro-ARM
Description:    (none)
Release:        19.06
Codename:       n/a
[floogy@manjaropi ~]$ 

So how can I upgrade that manjaropi?

We don’t support installations done by third party applications.

You should download the newest image from our Download page and flash that to an SD card.

1 Like

I learned almost nothing. Thanks anyway. I’ll download an Image with 19.06 and try to upgrade that instead to learn the upgrade process and handling of package conflicts, mirror-lists, pacman, pacman-mirrors, pamac and so on.

Download an image with 21.06 instead. 19.06 is way to old.

2 Likes

Hi,

For your help this link will be useful for a new arch user.

https://archlinux.org/

Don’t forget the wiki on the top right :-)

https://wiki.archlinux.org/

a 19.06 image is an old one, arch is a rolling distribution, if you forget an update it can cause damage to your OS

you can build your own Manjaro image, follow this wiki

more help for the up date

2 Likes

I feel for the op. He thinks this is a simple matter of adjusting his sources and bam he’s off to the races. And if he wanted to do that and only that, he could probably find that through a web search. But as Strit has said what he did to install it isn’t supported, I won’t provide those links.

Now the real problem that the op isn’t grasping is as has been stated plainly, the image he wishes yo use is 2 years and more out of date and its very likely that it won’t update correctly, no matter what.

So finally, as has been stated get an updated image of 21.06 and copy it with imager to a micro SD card.
This is the far easiest solution to resolve that problem.
Ask me how I know.
I’ll tell you its because I have tried to use old image files from other distros and they always require a lit if extra work and rarelyif ever work.

2 Likes

Okay then. I appreciate your answers. Despite my experience to upgrade ubuntu LTS to LTS, I have to admit, that I doesn’t have any experience with rolling release distributions and arch distros. That said, I was eager to try the upgrade anyway to maybe learn upgrades the hard way, but I only found one torent file with the original release Manjaro-ARM-lxqt-rpi3-19.04.img.xz (not prepared for berryboot with sqashfs etc.). The torrent got no peers, so it won’t download.

So I have two options: Using an upgraded image prepared for berryboot or following your advice and flash the current official image on a microsd to get a decent manjaro system which will then hopefully be upgradeable.

Also, I noticed, that Warnung: /etc/pacman.d/mirrorlist installiert als /etc/pacman.d/mirrorlist.pacnew gives the hint to move the pacnew to the mirrorlist.

I did so and ran directly into unmet dependencies and errors. So it won’t be a comfortable way to upgrade to the current packages.

1 Like

Ubuntu and the like do incremental updates and a new point release every six months. If you tried to update a 2 yr old image from Ubuntu you could do it if you did it from one point release to the next but you would likely run into errors if you tried to go from a 2 yr old image to current without doing all the intermediate steps.

Rolling releases work by always giving you incremental updates. A point release image of a rolling release is just wherever the system happens to be at a given date, more or less. There is no upgrade path between point releases, except the incremental updates along the way. So with a rolling release you have the responsibility to keep your system up to date.

Aarch64 is almost exactly the same as manjaro arm and I see berryboot has aarch64 available.

Looking at berryboot a little more closely it looks like a virtual machine container something or other. I do wonder why they include such an old manjaro image by default for even their 2021 release…

Overall, lxqt I don’t like. Mate seems to have some lag, updating wasn’t so bad really.

1 Like

I don’t think, they use a vm, container or the like, but a tiny linux system. I might be wrong though.

1 Like

When you change your mirrorlist to be an archlinux arm mirror - pacman-mirrors will be uninstalled.

The reason is that the package pacman-mirrors exist on both Archlinux Arm and Manjaro - despite both packages serves the same purpose - providing a mirrorlist - the content of the packages are very different - and mutually exclusive.

2 Likes

Its def some kind of VM container something or other as it uses a compressed image file. Unlike just installing an os, you can’t chroot into this manjaro machine when it is not active so if you bork it, you can’t fix it unless it boots.

I don’t think so. It’s simply a linux kernel which boots into the qt-menu of berryboot.

build system to create a minimal Linux operating system to run the boot menu under /package/berryboot/init - script that gets executed on boot, starts BerrybootUI

I don’t see any file which correspondents with linux containers or a virtualition system.
The linux kernel simply boots the choosed os of the qt menu.

I’m no programmer though.

Yes, it makes use of sqashfs, but that’s to minimize overhead, eg. of sparse files etc. It formerly was often used by live cdrom systems.

It does. Try accessing the berryboot system from another is, you can’t get into manjaro berryboot from another is the way you could any other is from just a file manager. You also can’t chroot into it. Don’t spam me with marketing dribble please. Just because they say its a booloading system doesn’t make it so.

I see why Strit doesn’t want to offer support for it. If you need support for berryboot problrms going forward you should def ask on their forums.

This subject is not relevant to Manjaro. Take it up with the Berryboot people.