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

 

 

 

"apt upgrade" removes CUPS printers definitions

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
andy55
Posts: 84
Joined: 2012-08-20 12:59

"apt upgrade" removes CUPS printers definitions

#1 Post by andy55 »

Hello,

I have defined printer in my debian buster. But whenever I run "apt update & apt upgrade" and there is some upgrade for cups package the printer definitions are deleted.
It happened twice or three times so far.
How can I "lock" printers definitions ?

Thanks

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: "apt upgrade" removes CUPS printers definitions

#2 Post by Bulkley »

This may not be the answer you are looking for and maybe I don't understand your question but here goes.

Printers come able to use a range of dns and are assigned a fresh one each time you boot. Years ago I went into my printer and nailed the dns to just one. Since then we have gone through different machines and many upgrades without losing printer location.

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: "apt upgrade" removes CUPS printers definitions

#3 Post by peter_irich »

Perhaps, you have made "printer definitions" by hands in the files, which are created automatically by cupsd.
Any tweaks must be executed in CUPS interface.

Peter.

brian_p
Posts: 196
Joined: 2015-11-05 10:32
Has thanked: 1 time
Been thanked: 5 times

Re: "apt upgrade" removes CUPS printers definitions

#4 Post by brian_p »

Like Bulkley, I haven't any idea what you mean by "printer definitions". Perhaps you
could explain what happens? What do you see?

BTW, CUPS on stable is hardly ever upgraded.
--
Brian.

arid
Posts: 135
Joined: 2014-05-08 18:40
Location: Aridzona
Has thanked: 3 times
Been thanked: 1 time

Re: "apt upgrade" removes CUPS printers definitions

#5 Post by arid »

I love it :mrgreen:

Three answers and no one has a clue what the OP is asking.

Cups has updates quite often on my sid and I have never seen any "definitions" or anything else change.

Hey OP, definitely define "definitions".
There's no drama in my sid......

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: "apt upgrade" removes CUPS printers definitions

#6 Post by andy55 »

How do you print to your printer using CUPS ? By adding a printer. I used "defined printer" intead of "added" - is it what confuses you ?

BTW todays upgrade:

Code: Select all

...
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian buster/main amd64 libtokyocabinet9 amd64 1.4.48-12 [371 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 mutt amd64 1.10.1-2.1+deb10u5 [1,582 kB]
Fetched 1,953 kB in 1s (2,013 kB/s)
[master 93df2c4] saving uncommitted changes in /etc prior to apt run
 Author: ...
 5 files changed, 4 insertions(+), 339 deletions(-)
 delete mode 100644 cups/ppd/Brother_DCP_L3550CDW_series.ppd
 delete mode 100644 cups/ppd/Brother_DCP_L3550CDW_series.ppd.O
 rewrite cups/printers.conf (79%)
 copy cups/{printers.conf => printers.conf.O} (100%)
...

Code: Select all

root@~# ls -al /etc/cups/ppd/
total 8
drwxr-xr-x 2 root lp 4096 Apr 24 20:33 .
drwxr-xr-x 5 root lp 4096 Apr 24 20:34 ..

Post Reply