Buster sources-list: which item is bad?

I have php-packages on my system that are “hold back”. So I have to remove them. My soureces list shows 4 entrys: which of those are ghood and which are bad?

deb http://httpredir.debian.org/debian buster main contrib non-free
#deb-src http://httpredir.debian.org/debian buster main contrib non-free

deb http://httpredir.debian.org/debian buster-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian buster-updates main contrib non-free

deb http://httpredir.debian.org/debian buster-backports main contrib non-free
#deb-src http://httpredir.debian.org/debian buster-backports main contrib non-free

deb http://security.debian.org/ buster/updates main contrib non-free
#deb-src http://security.debian.org/ buster/updates main contrib non-free

Spielmops

Hello,
Did you search on internet before ?
I have found this on Duckduckgo :
https://wiki.debian.org/SourcesList

I have noticed that you have backports repository : Backports - Debian Wiki
You can remove them. A Linux distribution is an ecosystem maintained by people who spend a lot of times to ensure its stability. By adding backports package, you sacrifice the stability of your server and maybe the interest of a distribution.
Unlesse you have a good reason, Nextcloud doesnt need backports package.

1 Like

Thanks, that I wanted to know. The reason for backports was to work with php7.3. It worked, but a security-reason disabled something. Now I have "manual installed packages and have to find and remove them. I’m searching since days for ways to find and delete and I#m new to Debian and apt, aptitude, dpkg …

1 Like

New problem: I have to install php-curl, but

php7.3-curl : depends on: php7.3-common (= 7.3.27-1~deb10u1) but 7.3.27-9+0~20210227.82+debian9~1.gbpa4a3d6 shall be installed

apt-show-versions  |  egrep -v "/buster"

php7.3-common:armhf 7.3.27-9+0~20210227.82+debian9~1.gbpa4a3d6 newer than version in archive

No clue? Must I uninstall the newer modules and install them new?

Spielmops

So welcome to the debian and NC community :slight_smile:
The Debian Wiki and Ubuntu doc are very good. If you want an excellent documentation, you have this : https://www.debian.org/doc/manuals/debian-reference/debian-reference.en.pdf
I now, It’s a very long documentation but you don’t have to read everything. And this doc is up to date!

1 Like

Can you try this command : sudo apt update --fix-missing , sudo apt update , sudo apt upgrade

So why is here a forum for those who have questions, when everybody can read anything in all available documentation?

Can you imaging, that the answer to my question can take days to reach? And I know from an Opensuse-forum, that often one simple answer can spare those days?

I’m working with Linux now for over 20 years, but the whole time with Opensuse and I’m now very familiar with it. But Opensuse is not available for this Odroid-machine, so I have to work with debian. I’m very sorry for that. Nearly sorry that I asked some questions …

1 Like

Oh stay calm, I was only giving this documentation in passing. Sometimes, you have to know more to do less. But my next message is here to help you.

The main issue with newcomers on this forum is that we don’t know anything about them. For example, some ask questions but dont even know what is a terminal… So, sorry if you took it the wrong way.

Anyway, did you try the commands ?

1 Like

root@Wolke7:~# apt-get --fix-broken install
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
apt update --fix-missing
Holen:1 http://security.debian.org buster/updates InRelease [65,4 kB]
OK:2 http://httpredir.debian.org/debian buster InRelease
OK:3 http://httpredir.debian.org/debian buster-updates InRelease
OK:4 https://mirrors.dotsrc.org/armbian-apt buster InRelease
Es wurden 65,4 kB in 2 s geholt (36,7 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
root@Wolke7:~# apt clean
root@Wolke7:~# apt autoclean
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
root@Wolke7:~# apt autoremove
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@Wolke7:~#

1 Like

Do you have ppa on your system ?
Did you try to force install of php7.3-curl ?

1 Like

ppa? Never heard …
force-install: No, in my humble opinion that’s a bad idea, I would like to solve this with no force.

ppa are unofficial repositories. You can list them with sudo apt policy .
Yes you mark a point.
And I guess that sudo apt install php7.3-common gives you the same error.
Cant you try a full-upgrade ?

apt policy

100 /var/lib/dpkg/status
release a=now
500 http://apt.armbian.com buster/buster-desktop armhf Packages
release o=Armbian,a=buster,n=buster,l=Armbian,c=buster-desktop,b=armhf
origin apt.armbian.com
500 http://apt.armbian.com buster/buster-utils armhf Packages
release o=Armbian,a=buster,n=buster,l=Armbian,c=buster-utils,b=armhf
origin apt.armbian.com
500 http://apt.armbian.com buster/main armhf Packages
release o=Armbian,a=buster,n=buster,l=Armbian,c=main,b=armhf
origin apt.armbian.com
500 http://security.debian.org buster/updates/main armhf Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=armhf
origin security.debian.org
500 http://httpredir.debian.org/debian buster-updates/non-free armhf Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=non-free,b=armhf
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster-updates/main armhf Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=armhf
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/non-free armhf Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=armhf
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/contrib armhf Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=armhf
origin httpredir.debian.org
500 http://httpredir.debian.org/debian buster/main armhf Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=main,b=armhf
origin httpredir.debian.org
Mit Pinning verwaltete Pakete:

Try this :

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*

sudo apt autoremove
sudo apt full-upgrade

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://httpredir.debian.org/debian buster main contrib non-free
/etc/apt/sources.list:#deb-src http://httpredir.debian.org/debian buster main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://httpredir.debian.org/debian buster-updates main contrib non-free
/etc/apt/sources.list:#deb-src http://httpredir.debian.org/debian buster-updates main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.debian.org/ buster/updates main contrib non-free
/etc/apt/sources.list:#deb-src http://security.debian.org/ buster/updates main contrib non-free
/etc/apt/sources.list.d/armbian.list:deb http://apt.armbian.com buster main buster-utils buster-desktop

autoremove and full-upgrade are done days ago and today too. We had that some posts above …

1 Like

Sorry I didnt see the autoremove. But I didnt see full upgrade;
Anyway, you have a ppa /etc/apt/sources.list.d/armbian.list:deb http://apt.armbian.com buster main buster-utils buster-desktop and I dont know what is it.

Try to Comment all lines in this ppa (the file is in /etc/apt/sources.list.d/) and retry update&upgrade

apt full-upgrade

Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

1 Like

If I see it right, then the php-modules are not from a legal buster-repository. I could remove php7.3-common, that would also remove all other modules and then I could install all of them again and php7.3-curl also. That should solve the problem? Or?

1 Like

It is a possibility. But maybe that this ppa doesnt contain php package and so it will not change anything.
In any case, its not a ‘dangerous’ operation. You can go back