Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: How to reinstall ALL printer services & functions

  1. #11
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to reinstall ALL printer services & functions

    Before installing any pkg, you must first:
    Code:
    sudo apt update
    In your case, after updating, post back results of:
    Code:
    apt policy cups
    You mentioned that you monkeyed around with your system something awful. Try to recount the things you did. Post them point by point. Did you do anything to your sources.list? Please post results of:
    Code:
    cat /etc/apt/sources.list
    Last but not least, please post your output between [CODE] and [/CODE] tags for clarity. Or highlight the output and use the button in the *Adv Reply* toolbar.

  2. #12
    Join Date
    May 2020
    Beans
    10

    Re: How to reinstall ALL printer services & functions

    Yes, did the sudo apt update (fairly experienced in Linux)


    Code:
    apt policy cups
    
    cups:
      Installed: (none)
      Candidate: (none)
      Version table:
    Also

    Code:
    cat /etc/apt/sources.list
    deb http://archive.ubuntu.com/ubuntu/ bionic restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu/ bionic-security restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ bionic-updates restricted universe multiverse

  3. #13
    Join Date
    May 2020
    Beans
    10

    Re: How to reinstall ALL printer services & functions

    Quote Originally Posted by VMC View Post
    Here's what I needed to do, to get it started:
    Code:
    sudo systemctl enable org.cups.cupsd.service
    sudo systemctl start org.cups.cupsd.service
    Okay, both of these failed.

    Code:
    Failed to enable unit: Unit file org.cups.cupsd.service does not exist.
    Failed to start org.cups.cupsd.service: Unit org.cups.cupsd.service not found.

  4. #14
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to reinstall ALL printer services & functions

    You have a severely broken sources.list file and you did not carry out the following instructions:
    Quote Originally Posted by DuckHook View Post
    …You mentioned that you monkeyed around with your system something awful. Try to recount the things you did. Post them point by point…
    Please post these now.

    Also, confirm that you have backed up all of your important data.

    Here is a virgin Bionic sources.list file:
    Code:
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
    deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu bionic partner
    # deb-src http://archive.canonical.com/ubuntu bionic partner
    
    deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
    deb http://security.ubuntu.com/ubuntu bionic-security universe
    # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
    You will need to replace the contents in the one you have with the contents above. Make sure that the resulting file is owned by root. It won't run if owned by you or any other normal user. Must be root. The best say to replace the above is to:

    1. Open a terminal and:
      Code:
      sudo nano /etc/apt/sources.list
    2. Delete all contents
    3. Copy and paste the above contents into nano. In nano, pasting is done with <Ctrl>+<Shift>+<V>
    4. Save <Ctrl>+<o> and exit nano <Ctrl>+<x>
    5. Reboot

    When system comes back up again, try to install cups:
    Code:
    sudo apt update && sudo apt install cups
    A really big caveat
    You have not told us what steps you took that led to this. In my experience, a sources.list file as broken as yours usually indicates that you did a dozen other things that have taken your system far beyond a stable, default state. Personally, I feel as CelticWarrior does: you are better off reinstalling after backing up your important data. But the choice is yours.

  5. #15
    Join Date
    May 2020
    Beans
    10

    Re: How to reinstall ALL printer services & functions

    Okay, on

    Code:
    sudo apt install cups
    I get

    Code:
    sudo apt install cups
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    
    The following packages have unmet dependencies:
     cups : Depends: libcups2 (= 2.2.7-1ubuntu2.8) but 2.3.1-11 is to be installed
            Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed
            Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed
            Depends: libcupsppdc1 (>= 1.4.0) but it is not going to be installed
            Depends: cups-core-drivers (>= 2.2.7-1ubuntu2.8)
            Depends: cups-daemon (>= 2.2.7-1ubuntu2.8)
            Recommends: printer-driver-gutenprint but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  6. #16
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to reinstall ALL printer services & functions

    From a practical perspective, there really is no point in continuing to chase this unicorn. You won't or can't tell us what you did to break it and I have already noted:
    Quote Originally Posted by DuckHook View Post
    A really big caveat
    You have not told us what steps you took that led to this. In my experience, a sources.list file as broken as yours usually indicates that you did a dozen other things that have taken your system far beyond a stable, default state. Personally, I feel as CelticWarrior does: you are better off reinstalling after backing up your important data…
    Another forum member may have more experience dealing with an install this broken, but I'm afraid that I can be of no further help.

  7. #17
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to reinstall ALL printer services & functions

    "...no point in continuing to chase this unicorn." Made me laugh.

    Jimmyman, not sure of your Linux tenure, but in the future if you want to experiment, first back up your system. Then hack away to your hearts content.

  8. #18
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to reinstall ALL printer services & functions

    Quote Originally Posted by VMC View Post
    …in the future if you want to experiment, first back up your system. Then hack away to your hearts content.
    ↑+1

    Or do such hacking in a VM.

  9. #19
    Join Date
    May 2020
    Beans
    10

    Re: How to reinstall ALL printer services & functions

    Honestly it was a snowball. Tried this to fix, that to fix... life happens. Then this, then that the next day. Then this and that the next day. Got busy, weeks pass... Then it continued for a few more fixes. LOL. Okay, looks like I'll have to just update to a new version.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •