LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Raspbian (Debian 11) sources testing of HPLIP not identified therefore not upgraded from testing (https://www.linuxquestions.org/questions/debian-26/raspbian-debian-11-sources-testing-of-hplip-not-identified-therefore-not-upgraded-from-testing-4175721813/)

floppy_stuttgart 02-08-2023 11:18 AM

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.

evo2 02-08-2023 05:47 PM

Quote:

Originally Posted by floppy_stuttgart (Post 6409949)
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.

floppy_stuttgart 02-09-2023 04:06 AM

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.

evo2 02-09-2023 01:17 PM

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.

floppy_stuttgart 02-09-2023 02:18 PM

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

evo2 02-09-2023 02:35 PM

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".

evo2 02-09-2023 02:40 PM

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.

floppy_stuttgart 02-10-2023 01:42 AM

Quote:

Originally Posted by evo2 (Post 6410206)
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


evo2 02-10-2023 02:53 AM

Quote:

Originally Posted by floppy_stuttgart (Post 6410202)
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.

floppy_stuttgart 02-10-2023 07:58 AM

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


business_kid 02-10-2023 10:28 AM

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.

floppy_stuttgart 02-10-2023 11:29 AM

Quote:

Originally Posted by business_kid (Post 6410387)
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/

floppy_stuttgart 02-10-2023 01:23 PM

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

evo2 02-10-2023 04:54 PM

Quote:

Originally Posted by floppy_stuttgart (Post 6410425)
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.

evo2 02-10-2023 04:57 PM

Quote:

Originally Posted by floppy_stuttgart (Post 6410354)
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.


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