Thursday 14 December 2023

purge cups then install cups

 $ sudo apt-get purge cups && sudo apt-get autoremove

[sudo] password for dhwan: 

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following packages were automatically installed and are no longer required:

  cups-browsed cups-core-drivers cups-daemon cups-server-common

  libgutenprint-common libgutenprint9 ssl-cert

Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:

  cups* printer-driver-gutenprint*

0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded.

After this operation, 2.078 kB disk space will be freed.

Do you want to continue? [Y/n] y

(Reading database ... 323164 files and directories currently installed.)

Removing printer-driver-gutenprint (5.3.3-9) ...

Job for cups.service failed because a timeout was exceeded.

See "systemctl status cups.service" and "journalctl -xeu cups.service" for details.

invoke-rc.d: initscript cups, action "force-reload" failed.

Removing cups (2.4.1op1-1ubuntu4.7) ...

Processing triggers for man-db (2.10.2-1) ...

(Reading database ... 323082 files and directories currently installed.)

Purging configuration files for cups (2.4.1op1-1ubuntu4.7) ...

Purging configuration files for printer-driver-gutenprint (5.3.3-9) ...

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following packages will be REMOVED:

  cups-browsed cups-core-drivers cups-daemon cups-server-common

  libgutenprint-common libgutenprint9 ssl-cert

0 upgraded, 0 newly installed, 7 to remove and 5 not upgraded.

After this operation, 13,2 MB disk space will be freed.

Do you want to continue? [Y/n] y

(Reading database ... 323081 files and directories currently installed.)

Removing cups-browsed (1.28.15-0ubuntu1.2) ...

Removing cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Removing cups-daemon (2.4.1op1-1ubuntu4.7) ...

Removing cups-server-common (2.4.1op1-1ubuntu4.7) ...

Removing libgutenprint9 (5.3.3-9) ...

Removing libgutenprint-common (5.3.3-9) ...

Removing ssl-cert (1.1.2) ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

dhwan@dhwan-A514-51K-31XM:~$ sudo apt-get update && sudo apt-get install cups

Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease

Hit:2 http://id.archive.ubuntu.com/ubuntu jammy InRelease                      

Hit:3 https://packages.microsoft.com/repos/edge stable InRelease               

Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease               

Hit:5 http://id.archive.ubuntu.com/ubuntu jammy-updates InRelease              

Hit:6 http://id.archive.ubuntu.com/ubuntu jammy-backports InRelease            

Hit:7 https://ppa.launchpadcontent.net/cappelikan/ppa/ubuntu jammy InRelease   

Hit:8 https://ppa.launchpadcontent.net/costales/folder-color/ubuntu jammy InRelease

Hit:9 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy InRelease

Hit:10 https://ppa.launchpadcontent.net/inkscape.dev/stable/ubuntu jammy InRelease

Hit:11 https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu jammy InRelease

Hit:12 https://shop.softmaker.com/repo/apt stable InRelease

Reading package lists... Done

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  cups-browsed cups-core-drivers cups-daemon cups-server-common ssl-cert

Suggested packages:

  cups-pdf smbclient

The following NEW packages will be installed:

  cups cups-browsed cups-core-drivers cups-daemon cups-server-common ssl-cert

0 upgraded, 6 newly installed, 0 to remove and 5 not upgraded.

Need to get 46,5 kB/1.159 kB of archives.

After this operation, 5.284 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://id.archive.ubuntu.com/ubuntu jammy/main amd64 ssl-cert all 1.1.2 [17,4 kB]

Get:2 http://id.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cups-core-drivers amd64 2.4.1op1-1ubuntu4.7 [29,1 kB]

Fetched 46,5 kB in 2s (30,7 kB/s)       

Preconfiguring packages ...

Selecting previously unselected package ssl-cert.

(Reading database ... 321989 files and directories currently installed.)

Preparing to unpack .../0-ssl-cert_1.1.2_all.deb ...

Unpacking ssl-cert (1.1.2) ...

Selecting previously unselected package cups-daemon.

Preparing to unpack .../1-cups-daemon_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-daemon (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups-browsed.

Preparing to unpack .../2-cups-browsed_1.28.15-0ubuntu1.2_amd64.deb ...

Unpacking cups-browsed (1.28.15-0ubuntu1.2) ...

Selecting previously unselected package cups-core-drivers.

Preparing to unpack .../3-cups-core-drivers_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups-server-common.

Preparing to unpack .../4-cups-server-common_2.4.1op1-1ubuntu4.7_all.deb ...

Unpacking cups-server-common (2.4.1op1-1ubuntu4.7) ...

Selecting previously unselected package cups.

Preparing to unpack .../5-cups_2.4.1op1-1ubuntu4.7_amd64.deb ...

Unpacking cups (2.4.1op1-1ubuntu4.7) ...

Setting up cups-server-common (2.4.1op1-1ubuntu4.7) ...

Setting up ssl-cert (1.1.2) ...

Setting up cups-daemon (2.4.1op1-1ubuntu4.7) ...

cups.path is a disabled or a static unit not running, not starting it.

cups.service is a disabled or a static unit not running, not starting it.

cups.socket is a disabled or a static unit not running, not starting it.

Setting up cups-browsed (1.28.15-0ubuntu1.2) ...

Setting up cups-core-drivers (2.4.1op1-1ubuntu4.7) ...

Setting up cups (2.4.1op1-1ubuntu4.7) ...

Updating PPD files for cups ...

Processing triggers for man-db (2.10.2-1) ...

Processing triggers for ufw (0.36.1-4ubuntu0.1) ...

WARN: /etc/default/ufw is world writable!

WARN: /etc/default is world writable!

WARN: /etc is world writable!

WARN: /etc/ufw/ufw.conf is world writable!

WARN: /etc/ufw is world writable!

WARN: /etc/ufw/applications.d is world writable!

WARN: /etc/ufw/user.rules is world writable!

WARN: /etc/ufw/before.rules is world writable!

WARN: /etc/ufw/after.rules is world writable!

WARN: /etc/ufw/user6.rules is world writable!

WARN: /etc/ufw/before6.rules is world writable!

WARN: /etc/ufw/after6.rules is world writable!

WARN: /lib/ufw/ufw-init is world writable!

WARN: /lib/ufw is world writable!

WARN: /lib is world writable!

WARN: /usr/sbin/ufw is world writable!

WARN: /usr/sbin is world writable!

WARN: /usr is world writable!

WARN: /etc/ufw/applications.d/cups is world writable!


Share:

0 comments:

Post a Comment