LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-03-2020, 08:14 PM   #1
ObsoleteMan
Member
 
Registered: Nov 2016
Location: Philadelphia, Pa
Distribution: DebIan, Knoppix.
Posts: 66

Rep: Reputation: Disabled
Printer cannot be deleted


Hi everybody,

I have a Canon MG300 series printer that keeps reappearing after deletion. I want to get rid of it so I can reinstall the drivers.

The system is:

Debian 9.11 Stretch
HP EliteBook 8730w
Canon MG 3022 connected wirelessly

Ideas?, Thanks in advance
Mike
 
Old 01-03-2020, 08:30 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,278

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
How are you deleting it, from the Cups webpage, or a desktop setting?
If a desktop app, try the webpage at http://localhost:631

If that does not work, you could delete the ppd file for it in /etc/cups/ppd.
 
Old 01-03-2020, 09:44 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,988
Blog Entries: 28

Rep: Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371Reputation: 6371
It's a long shot, but is there some kind of automatic printer discovery going on here?

I would not expect something like that on Debian, but you could test by powering down the printer, deleting it from CUPS, and waiting to see whether it shows up again.

If it doesn't show up after a decent interval (couple of hours maybe?), power the printer back up and check what happens.

As I say, a long shot . . . .
 
Old 01-05-2020, 12:58 PM   #4
ObsoleteMan
Member
 
Registered: Nov 2016
Location: Philadelphia, Pa
Distribution: DebIan, Knoppix.
Posts: 66

Original Poster
Rep: Reputation: Disabled
I followed both your advises to no avail. The printer was gone for a few hours only to come back this morning (1/5/20) upon reboot. Here are some additional facts: The printer has been off for over 24 hours and still has not been turned on. With difficulty, I deleted the printer using the CUPS website and it is gone. I went to etc/cups/ppd to delete but the permissions are all greyed out.
 
Old 01-06-2020, 06:24 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,418

Rep: Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718
Quote:
I went to etc/cups/ppd to delete but the permissions are all greyed out.
That is generally the case on system files if you are not root and the owner of that file is definitely root. So access the file with root and delete it and see if that resolves your problem.
 
Old 01-06-2020, 10:15 AM   #6
gregors
Member
 
Registered: Mar 2018
Posts: 180

Rep: Reputation: Disabled
I strongly suggest not to delete this file but to rename it or move it to some other place. If you delete this file you can't get it back (if you don't backup your files).

Gregor
 
Old 01-07-2020, 03:09 PM   #7
ObsoleteMan
Member
 
Registered: Nov 2016
Location: Philadelphia, Pa
Distribution: DebIan, Knoppix.
Posts: 66

Original Poster
Rep: Reputation: Disabled
I don't know how I did it but I did it!!! I believe the issue was with the CUPS website. Maybe it resets and updates all the changes every 24 or so hours which would account for the printer reappearing instantly only to disappear after a day or so. I was not able to rename or delete the ppd file because of permission issues however when I deleted the printer from the cups site it went away.

Thank you all for your time and advise frankbell,yancek and gregor

Mike
 
  


Reply

Tags
delete, printer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Volume group got deleted, how to check who deleted it? Sayan Acharjee Linux - General 1 02-15-2012 05:04 AM
Partitioned deleted by linux deleted ata.rehman Linux - General 3 04-16-2010 09:56 PM
Kmail crashes when deleted mail is deleted dufferin Slackware 0 03-21-2005 03:23 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:26 AM.

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