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 Index of /debian buster main contrib non-free
#deb-src Index of /debian buster main contrib non-free
deb Index of /debian buster-updates main contrib non-free
#deb-src Index of /debian buster-updates main contrib non-free
deb Index of /debian buster-backports main contrib non-free
#deb-src Index of /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
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
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 ?
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 Index of /debian buster main contrib non-free
/etc/apt/sources.list:#deb-src Index of /debian buster main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:deb Index of /debian buster-updates main contrib non-free
/etc/apt/sources.list:#deb-src Index of /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
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