Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Upgrading Debian with the right repositories

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
hihu
Posts: 13
Joined: 2017-09-22 07:26

Upgrading Debian with the right repositories

#1 Post by hihu »

Hello everyone.

Since some time I'm not getting any updates for my system anymore. I always use the "apt update" command. And sometimes also the software center does update my system.

When I type in apt update I get

Code: Select all

root@debian-s0nd:/home/hihu# apt update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB]
Ign:2 http://ftp.at.debian.org/debian stretch InRelease                        
Hit:3 http://ftp.at.debian.org/debian stretch-updates InRelease                
Hit:4 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu wily InRelease      
Hit:5 http://ftp.at.debian.org/debian stretch Release                          
Ign:6 http://kxstudio.linuxaudio.org/repo gcc5 InRelease                       
Ign:7 http://kxstudio.linuxaudio.org/repo stable InRelease                     
Hit:8 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu xenial InRelease    
Hit:9 http://kxstudio.linuxaudio.org/repo gcc5 Release                         
Hit:10 http://kxstudio.linuxaudio.org/repo stable Release                      
Hit:11 http://ppa.launchpad.net/kxstudio-debian/gcc5-deps/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu lucid InRelease    
Ign:13 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  InRelease
Ign:15 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  InRelease
Hit:16 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu lucid InRelease   
Get:17 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release [1.046 B]
Get:18 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release [1.015 B]
Get:19 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release.gpg [481 B]
Get:20 http://security.debian.org/debian-security stretch/updates/main Sources [157 kB]
Hit:21 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu lucid InRelease 
Get:22 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release.gpg [481 B]
Get:23 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [386 kB]
Hit:24 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu lucid InRelease    
Hit:27 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu lucid InRelease
Get:28 http://security.debian.org/debian-security stretch/updates/main Translation-en [182 kB]
Hit:29 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu trusty InRelease   
Hit:30 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu trusty InRelease  
Ign:19 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release.gpg
Hit:31 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu trusty InRelease
Ign:22 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release.gpg
Hit:32 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu trusty InRelease   
Hit:33 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu trusty InRelease
Reading package lists... Done                       
W: GPG error: http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0FAD31CA8719FCE4
E: The repository 'http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
So it seems some repositories are not signed. How do I sign them? The repositories from KX Studio work fine but how about the others?

I could also use apt dist-upgrade to upgrade from Debian 9.3 to 9.5. Is it safe to do so when those repositories are not signed. Should I disable all third party repositories before upgrading. Whats the safest way to do so?

Thank you very much for some information concerning my problem.

Thanks

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Upgrading Debian with the right repositories

#2 Post by RU55EL »

You need to read this carefully: Don't make a FrankenDebian
Ubuntu, Mint or other derivative repositories are not compatible with Debian!


User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Upgrading Debian with the right repositories

#4 Post by Head_on_a_Stick »

Try

Code: Select all

wget http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0/Release.key && sudo apt-key add Release.key && rm Release.key
EDIT: perhaps put "stevenpusser" in the thread title, the repository maintainer is a forum member.
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Upgrading Debian with the right repositories

#5 Post by stevepusser »

I should have put the reason I ported that library over from Ubuntu in the description. Maybe it was to help someone with a closed-source package that required that library. And, yes, you either need to add the key for the repo, or else edit its entry in /etc/apt/sources.list.d and add "[trusted=yes]" (no quotes) after the "deb" in the entry. Adding the key is the preferred solution.

But the PPA with gcc-5 is a lot more problematic, though it's not throwing those kinds of errors.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Upgrading Debian with the right repositories

#6 Post by sunrat »

The KXStudio repositories will not generally cause a problem in Debian. Despite being a PPA, they are designed to be compatible and I have used them myself with no issues.
The holdup here is the lack of keys for stevepusser's OBS repo so follow his advice, preferably to add the key as advised by Head_on_a_Stick.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

hihu
Posts: 13
Joined: 2017-09-22 07:26

Re: Upgrading Debian with the right repositories

#7 Post by hihu »

Thank you very much for your replies.

I managed to download the right key and install it. Thank you. Is every key in the repository itself like at the end "/Release.key" because for the owncloud repo it seems not to work?
Then I upgraded to the latest Debian 9.5 and everything seems to work.

I's not my intention to make a "franken Debian" or mix everything up from the repositories. It's just that i need a program from the KX repositories called "Cadence" which is for configuring the jack sound server. All other packages I take from the official repositories. I installed only this particular package.

I can't see any priority in the packages list but I would guess that the official repositories do have a higher priority.

Thank you very much

Post Reply