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

 

 

 

SOLVED -- Need New HPLIP That's Not In Repositories

Need help with peripherals or devices?
Post Reply
Message
Author
Caitlin
Posts: 329
Joined: 2012-05-24 07:32
Has thanked: 3 times
Been thanked: 2 times

SOLVED -- Need New HPLIP That's Not In Repositories

#1 Post by Caitlin »

I just bought a new printer -- an HP Officejet 5740 to replace a printer that died -- but it needs HPLIP 3.14.10 or better. I use HPLIP 3.14.6 with Jessie; but nothing newer than that is available on the Jessie repositories.

There are newer versions of HPLIP on Sourceforge, but I have had dire warnings in the past about creating a "Frankendebian" -- a system with software from several different sources. I'm particularly concerned about having to install dozens of newer versions of libraries that I don't really need, causing other software to break.

Please, what is the safe way to proceed?

Caitlin
Last edited by Caitlin on 2016-10-30 13:03, edited 1 time in total.

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#2 Post by edbarx »

Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Caitlin
Posts: 329
Joined: 2012-05-24 07:32
Has thanked: 3 times
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#3 Post by Caitlin »

Hi edbarx,

I followed the link and a newer HPLIP is definitely in there. But how do I get to it?

My repo list includes the line "http://ftp.debian.org/debian/ jessie-backports non-free contrib main" but the newer HPLIP doesn't show up in Synaptic. Do I have to change this repo line somehow? I tried "http://ftp.debian.org/debian/ jessie-backports non-free contrib main hplip" but that didn't work.

Any help would be appreciated.

Caitlin

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#4 Post by edbarx »

http://ftp.debian.org/debian/ jessie-backports non-free contrib main hplip

Should be:
deb http://ftp.debian.org/debian/debian jessie-backports main contrib non-free

As root use nano to open /etc/apt/sources.list and add the line shown just above.

Then do an:
apt-get update

After that you should be able to install your package.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Caitlin
Posts: 329
Joined: 2012-05-24 07:32
Has thanked: 3 times
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#5 Post by Caitlin »

Hi edbarx,

I added the line you suggested, and when I updated, I got the following error messages:


"Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

Failed to fetch http://ftp.debian.org/debian/debian/dis ... 4/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Failed to fetch http://ftp.debian.org/debian/debian/dis ... 4/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Failed to fetch http://ftp.debian.org/debian/debian/dis ... 4/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Failed to fetch http://ftp.debian.org/debian/debian/dis ... 6/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Failed to fetch http://ftp.debian.org/debian/debian/dis ... 6/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Failed to fetch http://ftp.debian.org/debian/debian/dis ... 6/Packages 404 Not Found [IP: 2001:610:1908:b000::148:12 80]
Some index files failed to download. They have been ignored, or old ones used instead."


Are you sure "debian" is supposed to be doubled like that? (ftp.debian.org/debian/debian)

Regards,

Caitlin

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#6 Post by edbarx »

Caitlin wrote:Are you sure "debian" is supposed to be doubled like that? (ftp.debian.org/debian/debian)
Sorry, that is a mistake on my part. Use ftp.debian.org/debian instead.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Caitlin
Posts: 329
Joined: 2012-05-24 07:32
Has thanked: 3 times
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#7 Post by Caitlin »

Oh dear. Now we're back to "deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free" which is what I had originally.

Synaptic shows I have 3.14.6-1+b2 installed, that 3.14.6-1+b2 is the latest version, and if I select hplip, the mark for upgrade option is greyed out.

How can I make sure a newer hplip is really in the backports repository?

I reproduce my entire sources.list here:


"# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie main contrib

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ jessie/updates contrib main
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ jessie-updates non-free contrib main
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib

# jessie-backports, previously on backports.debian.org
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
# deb-src http://ftp.debian.org/debian/ jessie-backports main contrib

deb http://ftp.debian.org/debian/ jessie non-free contrib main"


Sincerely,

Caitlin

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: Need New HPLIP That's Not In Repositories

#8 Post by roseway »

If you want to use Synaptic, select hplip in Synaptic, then select Package --> Force Version. You'll get a popup window in which you can select different versions of the package (if they're available).
Eric

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

Re: Need New HPLIP That's Not In Repositories

#9 Post by stevepusser »

Explained here: https://backports.debian.org/Instructions/

Basically, they are pinned lower than Jessie packages, so they won't be automatic upgrades. You have to make a little bit of an effort to install them. You can also set Synaptic to prefer packages from jessie-backports, then everything in it would appear as upgrades, but upgrading everything is not advisable. Also you must remember to reset the preference back to the norm if you disable the jessie-backports repo, otherwise Synaptic will be broken and refuse to start.
MX Linux packager and developer

Caitlin
Posts: 329
Joined: 2012-05-24 07:32
Has thanked: 3 times
Been thanked: 2 times

Re: Need New HPLIP That's Not In Repositories

#10 Post by Caitlin »

stevepusser wrote:Explained here: https://backports.debian.org/Instructions/
Install a package from backports

All backports are deactivated by default (i.e. the packages are pinned to 100 by using ButAutomaticUpgrades: yes in the Release files. If you want to install something from backports run:

apt-get -t jessie-backports install "package"
Basically, they are pinned lower than Jessie packages, so they won't be automatic upgrades. You have to make a little bit of an effort to install them.
Halleujah! It actually worked that time.

Not only was I able to upgrade of HPLIP, but when I tested the printer, an HP OJ 5740, I was actually able to print something.

Thank you all.

Caitlin

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

Re: Need New HPLIP That's Not In Repositories

#11 Post by stevepusser »

Great! Please edit the title of your first post and add "SOLVED" to help others with the same question. Thanks!
MX Linux packager and developer

Post Reply