LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-08-2023, 11:18 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Raspbian (Debian 11) sources testing of HPLIP not identified therefore not upgraded from testing


According this https://wiki.debian.org/SimpleBackportCreation for upgrading hplip to the testing version
I changed the sources by adding
Quote:
deb-src http://deb.debian.org/debian/ testing main
according https://tracker.debian.org/pkg/hplip show 3.22.10 should be there.

rmadison hplip --architecture armel
Quote:
hplip | 3.14.6-1+deb8u1 | oldoldoldstable | armel
hplip | 3.16.11+repack0-3 | oldoldstable | armel
hplip | 3.18.12+dfsg0-2~bpo9+1 | stretch-backports | armel
hplip | 3.18.12+dfsg0-2 | oldstable | armel
hplip | 3.20.9+dfsg0-4~bpo10+1 | buster-backports | armel
hplip | 3.21.2+dfsg1-2 | stable | armel
hplip | 3.22.10+dfsg0-1 | testing | armel
hplip | 3.22.10+dfsg0-1 | unstable | armel

But I got that message

sudo apt source hplip/testing
Quote:
Reading package lists... Done
E: Can not find version '3.21.2+dfsg1-2' of package 'hplip'
E: Unable to find a source package for hplip
Has anybody an idea how to upgrade that hplip package to testing version?

Remark: 3.21.2 is installed
sudo apt install hplip
Quote:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
hplip is already the newest version (3.21.2+dfsg1-2+b1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Last edited by floppy_stuttgart; 02-08-2023 at 11:21 AM.
 
Old 02-08-2023, 05:47 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
Has anybody an idea how to upgrade that hplip package to testing version?
Code:
mkdir foo
cd foo
apt source hplip/testing
sudo apt build-dep hplip/testing
cd hplip-3.22.10+dfsg0 
dch --bpo # Edit changelog as desired
debuild
sudo dpkg -i ../*.deb
See also https://wiki.debian.org/SimpleBackportCreation

Evo2.
 
Old 02-09-2023, 04:06 AM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
sudo apt-get update
Quote:
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:3 https://deb.debian.org/debian testing InRelease [171 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [311 kB]
Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf Contents (deb) [1,306 kB]
Get:7 https://deb.debian.org/debian testing/non-free Sources [80.7 kB]
Get:8 https://deb.debian.org/debian testing/main Sources [9,682 kB]
Fetched 24.8 MB in 1min 11s (350 kB/s)
mkdir hplip

cd hplip

sudo apt source hplip/testing
Quote:
Reading package lists... Done
E: Can not find version '3.21.2+dfsg1-2' of package 'hplip'
E: Unable to find a source package for hplip
sudo apt build-dep hplip/testing
Quote:
Reading package lists... Done
E: Can not find version '3.21.2+dfsg1-2' of package 'hplip'
E: Unable to find a source package for hplip/testing
issue ist still there today.

Last edited by floppy_stuttgart; 02-09-2023 at 04:20 AM.
 
Old 02-09-2023, 01:17 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I guess there is something wrong with your apt sources. I use the following for testing:
Code:
% cat /etc/apt/sources.list.d/testing.sources 
# Debian packages for testing
Types: deb-src
Enabled: True
URIs: http://deb.debian.org/debian
Suites: testing
Components: main contrib non-free
Also you should be looking for source packages with rmadison not binary packages since you will be building the binary yourself. Eg
Code:
% rmadison hplip --architecture source
hplip      | 3.14.6-1+deb8u1        | oldoldoldstable         | source
hplip      | 3.16.11+repack0-3      | oldoldstable            | source
hplip      | 3.18.12+dfsg0-2~bpo9+1 | stretch-backports       | source
hplip      | 3.18.12+dfsg0-2~bpo9+1 | stretch-backports-debug | source
hplip      | 3.18.12+dfsg0-2        | oldstable               | source
hplip      | 3.20.9+dfsg0-4~bpo10+1 | buster-backports        | source
hplip      | 3.20.9+dfsg0-4~bpo10+1 | buster-backports-debug  | source
hplip      | 3.21.2+dfsg1-2         | stable                  | source
hplip      | 3.22.10+dfsg0-1        | testing                 | source
hplip      | 3.22.10+dfsg0-1        | unstable                | source
hplip      | 3.22.10+dfsg0-1        | unstable-debug          | source

Evo2.

P.S. Please use [code] tags not [quote] tags, and also please include the full command that you run inside the tags.

Last edited by evo2; 02-09-2023 at 01:20 PM.
 
Old 02-09-2023, 02:18 PM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
latest try

Quote:
cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
deb-src http://deb.debian.org/debian/ testing main contrib non-free
Quote:
rmadison hplip --architecture source
hplip | 3.14.6-1+deb8u1 | oldoldoldstable | source
hplip | 3.16.11+repack0-3 | oldoldstable | source
hplip | 3.18.12+dfsg0-2~bpo9+1 | stretch-backports | source
hplip | 3.18.12+dfsg0-2~bpo9+1 | stretch-backports-debug | source
hplip | 3.18.12+dfsg0-2 | oldstable | source
hplip | 3.20.9+dfsg0-4~bpo10+1 | buster-backports | source
hplip | 3.20.9+dfsg0-4~bpo10+1 | buster-backports-debug | source
hplip | 3.21.2+dfsg1-2 | stable | source
hplip | 3.22.10+dfsg0-1 | testing | source
hplip | 3.22.10+dfsg0-1 | unstable | source
hplip | 3.22.10+dfsg0-1 | unstable-debug | source
Quote:
sudo apt source hplip/testing
Reading package lists... Done
E: Can not find version '3.21.2+dfsg1-2' of package 'hplip'
E: Unable to find a source package for hplip
 
Old 02-09-2023, 02:35 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

my only guess now is that the mirror that deb.debian.org points to for you is somehow out of date. Can you try another mirror?

Evo2.

P.S. [code] tags, not [quote] tags. Also don't use sudo with "apt source".

Last edited by evo2; 02-09-2023 at 02:37 PM.
 
Old 02-09-2023, 02:40 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hmm, another thing to check
Code:
% apt-cache madison hplip 
     hplip | 3.21.2+dfsg1-2 | http://deb.debian.org/debian bullseye/main amd64 Packages
     hplip | 3.21.2+dfsg1-2 | http://deb.debian.org/debian bullseye/main Sources
     hplip | 3.22.10+dfsg0-1 | http://deb.debian.org/debian testing/main Sources
     hplip | 3.22.10+dfsg0-1 | http://deb.debian.org/debian unstable/main Sources
Evo2.
 
Old 02-10-2023, 01:42 AM   #8
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by evo2 View Post
Hmm, another thing to check
Code:
% apt-cache madison hplip 
     hplip | 3.21.2+dfsg1-2 | http://deb.debian.org/debian bullseye/main amd64 Packages
     hplip | 3.21.2+dfsg1-2 | http://deb.debian.org/debian bullseye/main Sources
     hplip | 3.22.10+dfsg0-1 | http://deb.debian.org/debian testing/main Sources
     hplip | 3.22.10+dfsg0-1 | http://deb.debian.org/debian unstable/main Sources
Evo2.
For me.

Code:
apt-cache madison hplip 
     hplip | 3.21.2+dfsg1-2+b1 | http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
     hplip | 3.22.10+dfsg0-1 | http://deb.debian.org/debian testing/main Sources
 
Old 02-10-2023, 02:53 AM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
latest try

Code:
sudo apt source hplip/testing
Reading package lists... Done
E: Can not find version '3.21.2+dfsg1-2' of package 'hplip'
E: Unable to find a source package for hplip
This is strange. Even though you specify "/testing" it seems to be looking for the version that is in stable.

I'd suggest asking in #debian on irc but since you are running raspbian you may not get any help.

Last edited by evo2; 02-10-2023 at 02:54 AM.
 
Old 02-10-2023, 07:58 AM   #10
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Is there a way to download differently the sources of hplip since "sudo apt source hplip/testing" is not working?

trying few things from there https://www.debian.org/doc/manuals/d...ce_of_archives
Code:
sudo apt-get install -t testing hplip
Reading package lists... Done
E: The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources

Last edited by floppy_stuttgart; 02-10-2023 at 11:27 AM.
 
Old 02-10-2023, 10:28 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,314

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
Probably not.

I'm pretty sure cash changed hands for RasPi OS and I imagine Debian keep their side of the bargain. But the bargain is with raspberrypi. Raspberrypi don't give an <expletive> about linux or open source, but debian a much better option than windows, and cheaper too.

My experience with that OS is that if you want to do anything, you need to install another distro. I'm using one of the 2 slackware Aarch64 clones, slarm64.
 
Old 02-10-2023, 11:29 AM   #12
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by business_kid View Post
Probably not.

I'm pretty sure cash changed hands for RasPi OS and I imagine Debian keep their side of the bargain. But the bargain is with raspberrypi. Raspberrypi don't give an <expletive> about linux or open source, but debian a much better option than windows, and cheaper too.

My experience with that OS is that if you want to do anything, you need to install another distro. I'm using one of the 2 slackware Aarch64 clones, slarm64.
But worked for ipp-usb https://www.linuxquestions.org/quest...ge-4175721481/
 
Old 02-10-2023, 01:23 PM   #13
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
downloaded the deb package. Is it a way to go further and now just to install the deb package? how?

Last edited by floppy_stuttgart; 02-10-2023 at 01:27 PM.
 
Old 02-10-2023, 04:54 PM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
downloaded the deb package. Is it a way to go further and now just to install the deb package? how?
If you really want to you can try to install with
Code:
sudo dpkg -i foo.deb
As already mentioned you might want to consider ditching raspbian and using proper
Debian instead. I have a pi and did exactly that a couple of years ago.
See https://wiki.debian.org/RaspberryPi

Cheers,

Evo2.
 
Old 02-10-2023, 04:57 PM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
Is there a way to download differently the sources of hplip since "sudo apt source hplip/testing" is not working?
You can download by hand (webbrowser, wget etc) or use a tool like dget.

Evo2.
 
  


Reply

Tags
debian 11, raspberry pi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10 LXer Syndicated Linux News 0 07-26-2019 06:12 PM
[SOLVED] Error: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:22 Commomore Linux - Newbie 12 02-05-2019 12:24 AM
LXer: Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9 LXer Syndicated Linux News 0 03-01-2018 07:50 PM
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 12:12 PM
[SOLVED] Upgrade hplip-3.9.4b to hplip-3.9.12 (32-bit and 64-bit) tronayne Slackware 8 02-27-2011 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration