LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-23-2019, 11:14 AM   #1
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Rep: Reputation: 1
/usr/lib/apt/methods/https bandwidth usage


Hello everyone,

I'm using nethogs for monitor my personal computer's network. I noticed from few days on,

Quote:
/usr/lib/apt/methods/https
is using my bandwidth. It keeps downloading. I don't know what, but it keeps downloading. I have a little slow internet connection. It keeps disturbing other downloads. I can't kill that process. Every time I kill it, at that very second, it starts with another PID.

This is not a cause of apt update or apt upgrade. Because, when I upgrade it uses "/usr/lib/apt/methods/http".. And I can see "/usr/lib/apt/methods/https" is also using more data than my "apt upgrade".

I stopped every automatic update in my system through "Software & Updates" GUI.

I didn't find any solution for this problem. So I'm posting it here.

Feel free to ask any question you want. I'll try my best to reply you as soon as possible.

Thank you.
 
Old 09-03-2019, 07:07 AM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
do you have cron-apt installed?

Code:
apt show cron-apt
That will auto update and download packages
( starts at 04:00 daily by default )

I think the scripts stagger things a little, so 04:00 thing may be quiet and you will only see activity later
 
Old 09-03-2019, 07:20 AM   #3
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
Thanks for your reply Firerat

Code:
joseph@joseph:~$ sudo apt show cron-apt
Package: cron-apt
Version: 0.13.0
Priority: optional
Section: admin
Maintainer: Ola Lundqvist <opal@debian.org>
Installed-Size: 91.1 kB
Depends: apt
Recommends: liblockfile1, mail-transport-agent, cron | cron-daemon
Tag: admin::automation, admin::package-management, implemented-in::shell,
 interface::commandline, interface::daemon, role::program,
 scope::utility, suite::debian, use::downloading,
 works-with::software:package
Download-Size: 27.1 kB
APT-Sources: http://deb.debian.org/debian buster/main amd64 Packages
Description: automatic update of packages using apt-get
 Contains a tool that is run by a cron job at regular intervals. By default it
 just updates the package list and downloads new packages without installing.
 You can instruct it to run anything that you can do with apt-get
 (or aptitude).
 .
 It can optionally send mail to the system administrator on errors, log
 to syslog or a separate log file.
 .
 Observe that this tool may be a security risk, so you should not set it
 to do more than necessary. Automatic upgrade of all packages is NOT
 recommended unless you are in full control of the package repository.
This is what I got...

When I turn on my computer, after 5 or 10 minutes, I'll disconnect the internet. And re-enable it after 10 or 15 minutes. When I do that, I don't have any problem with this. If I don't do it, it continuously download data.
 
Old 09-03-2019, 07:28 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
I should have included

Code:
apt list cron-apt
if you see [installed]
on the end that is probably the cause.

but it is not installed by default ( or at least it wasn't in the past )
 
Old 09-03-2019, 08:00 AM   #5
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
ah.. ok ok... here is the results...

Code:
joseph@joseph:~$ sudo apt list cron-apt
Listing... Done
cron-apt/stable,stable 0.13.0 all
So it's not installed then... oh... :O
 
Old 09-03-2019, 08:26 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
nope

at least we know it is not that

ok, since stretch unattended-upgrades is installed by default

https://wiki.debian.org/UnattendedUpgrades


confirm it is installed
Code:
apt list unattended-upgrades
That page details the configuration,
you could make it less frequent, or uninstall unattended-upgrades
with
Code:
sudo apt remove unattended-upgrades
at some later point you may want to purge any old configuration files belonging to that package
Code:
sudo apt purge unattended-upgrades
 
Old 09-03-2019, 08:27 AM   #7
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
just don't forget to keep updated manually
 
Old 09-03-2019, 08:36 AM   #8
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
Code:
joseph@joseph:~$ sudo apt list unattended-upgrades
Listing... Done
unattended-upgrades/stable,stable,now 1.11.2 all [installed,automatic]
Ok... so it's installed. Is it ok if I uninstall it? If I do "apt upgrade", will it download and install upgrades without a problem?

I just want to make sure that doing this will not cause me any problem...
 
Old 09-03-2019, 08:48 AM   #9
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Quote:
Originally Posted by joseph_lewis View Post
Code:
joseph@joseph:~$ sudo apt list unattended-upgrades
Listing... Done
unattended-upgrades/stable,stable,now 1.11.2 all [installed,automatic]
Ok... so it's installed. Is it ok if I uninstall it? If I do "apt upgrade", will it download and install upgrades without a problem?

Yes it is ok to uninstall
but you won't get security updates automatically
you must manually update/upgrade

Quote:
I just want to make sure that doing this will not cause me any problem...
difficult to answer that one,
if you manually update/upgrade frequently you should have no problems
if you do not regularly update/upgrade you may be exposed to security flaws
 
Old 09-03-2019, 08:54 AM   #10
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
ok nice... I removed it.. I usually check updates daily. I'll let you know the progress. Thanks for helping me Firerat... Is there anything else to be done, please let me know.
 
Old 09-03-2019, 10:36 PM   #11
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
Hello Firerat

It didn't solved my problem Firerat. Same thing happen again. What should I do now? :O
 
Old 09-04-2019, 02:17 AM   #12
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
I can't think of anything else that would do this.

does it effect things by the same amount or less?
can you still see methods/https in nethogs?

while it is 'running'
Code:
ps -ef f

# not a typo -ef<space>f
can you see what is starting the methods/https ?
 
Old 09-05-2019, 12:41 AM   #13
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
ah sorry for the late reply. I found it,

Code:
root       983     1  3 11:00 ?        Ssl    0:07 /usr/lib/packagekit/packagekitd
_apt      2549   983  0 11:02 ?        S      0:00  \_ /usr/lib/apt/methods/https
I posted the whole results below, if you want.

Code:
joseph@joseph:~$ ps -ef f
UID        PID  PPID  C STIME TTY      STAT   TIME CMD
root         2     0  0 10:59 ?        S      0:00 [kthreadd]
root         3     2  0 10:59 ?        I<     0:00  \_ [rcu_gp]
root         4     2  0 10:59 ?        I<     0:00  \_ [rcu_par_gp]
root         6     2  0 10:59 ?        I<     0:00  \_ [kworker/0:0H-kblockd]
root         8     2  0 10:59 ?        I<     0:00  \_ [mm_percpu_wq]
root         9     2  0 10:59 ?        S      0:00  \_ [ksoftirqd/0]
root        10     2  0 10:59 ?        I      0:00  \_ [rcu_sched]
root        11     2  0 10:59 ?        I      0:00  \_ [rcu_bh]
root        12     2  0 10:59 ?        S      0:00  \_ [migration/0]
root        13     2  0 10:59 ?        I      0:00  \_ [kworker/0:1-cgroup_destroy]
root        14     2  0 10:59 ?        S      0:00  \_ [cpuhp/0]
root        15     2  0 10:59 ?        S      0:00  \_ [cpuhp/1]
root        16     2  0 10:59 ?        S      0:00  \_ [migration/1]
root        17     2  0 10:59 ?        S      0:00  \_ [ksoftirqd/1]
root        19     2  0 10:59 ?        I<     0:00  \_ [kworker/1:0H-kblockd]
root        20     2  0 10:59 ?        S      0:00  \_ [cpuhp/2]
root        21     2  0 10:59 ?        S      0:00  \_ [migration/2]
root        22     2  0 10:59 ?        S      0:00  \_ [ksoftirqd/2]
root        24     2  0 10:59 ?        I<     0:00  \_ [kworker/2:0H-kblockd]
root        25     2  0 10:59 ?        S      0:00  \_ [cpuhp/3]
root        26     2  0 10:59 ?        S      0:00  \_ [migration/3]
root        27     2  0 10:59 ?        S      0:00  \_ [ksoftirqd/3]
root        29     2  0 10:59 ?        I<     0:00  \_ [kworker/3:0H-kblockd]
root        30     2  0 10:59 ?        S      0:00  \_ [kdevtmpfs]
root        31     2  0 10:59 ?        I<     0:00  \_ [netns]
root        32     2  0 10:59 ?        S      0:00  \_ [kauditd]
root        33     2  0 10:59 ?        S      0:00  \_ [khungtaskd]
root        34     2  0 10:59 ?        S      0:00  \_ [oom_reaper]
root        35     2  0 10:59 ?        I<     0:00  \_ [writeback]
root        36     2  0 10:59 ?        S      0:00  \_ [kcompactd0]
root        37     2  0 10:59 ?        SN     0:00  \_ [ksmd]
root        38     2  0 10:59 ?        SN     0:00  \_ [khugepaged]
root        39     2  0 10:59 ?        I<     0:00  \_ [crypto]
root        40     2  0 10:59 ?        I<     0:00  \_ [kintegrityd]
root        41     2  0 10:59 ?        I<     0:00  \_ [kblockd]
root        42     2  0 10:59 ?        I<     0:00  \_ [edac-poller]
root        43     2  0 10:59 ?        I      0:00  \_ [kworker/u8:1-events_unbound]
root        44     2  0 10:59 ?        I<     0:00  \_ [devfreq_wq]
root        45     2  0 10:59 ?        S      0:00  \_ [watchdogd]
root        46     2  0 10:59 ?        I      0:00  \_ [kworker/1:1-events]
root        47     2  0 10:59 ?        S      0:00  \_ [kswapd0]
root        65     2  0 10:59 ?        I<     0:00  \_ [kthrotld]
root        66     2  0 10:59 ?        I      0:00  \_ [kworker/3:1-events]
root        67     2  0 10:59 ?        I      0:00  \_ [kworker/2:1-events_power_efficient]
root        68     2  0 10:59 ?        I<     0:00  \_ [ipv6_addrconf]
root        77     2  0 10:59 ?        I<     0:00  \_ [kstrp]
root       118     2  0 10:59 ?        I<     0:00  \_ [acpi_thermal_pm]
root       138     2  0 10:59 ?        I<     0:00  \_ [ata_sff]
root       139     2  0 10:59 ?        S      0:00  \_ [scsi_eh_0]
root       140     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_0]
root       141     2  0 10:59 ?        S      0:00  \_ [scsi_eh_1]
root       142     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_1]
root       143     2  0 10:59 ?        S      0:00  \_ [scsi_eh_2]
root       144     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_2]
root       145     2  0 10:59 ?        S      0:00  \_ [scsi_eh_3]
root       146     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_3]
root       147     2  0 10:59 ?        S      0:00  \_ [scsi_eh_4]
root       148     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_4]
root       149     2  0 10:59 ?        S      0:00  \_ [scsi_eh_5]
root       150     2  0 10:59 ?        I<     0:00  \_ [scsi_tmf_5]
root       151     2  0 10:59 ?        I      0:00  \_ [kworker/u8:2-events_unbound]
root       152     2  0 10:59 ?        I      0:00  \_ [kworker/u8:3-events_unbound]
root       153     2  0 10:59 ?        I      0:00  \_ [kworker/u8:4-events_unbound]
root       155     2  0 10:59 ?        I<     0:00  \_ [kworker/u9:0]
root       156     2  0 10:59 ?        S      0:00  \_ [i915/signal:0]
root       157     2  0 10:59 ?        S      0:00  \_ [i915/signal:1]
root       158     2  0 10:59 ?        S      0:00  \_ [i915/signal:2]
root       160     2  0 10:59 ?        I      0:00  \_ [kworker/3:2-events]
root       162     2  0 10:59 ?        I      0:00  \_ [kworker/0:2-mm_percpu_wq]
root       164     2  0 10:59 ?        I<     0:00  \_ [kworker/2:1H-kblockd]
root       165     2  0 10:59 ?        I<     0:00  \_ [kworker/0:1H-kblockd]
root       166     2  0 10:59 ?        I      0:00  \_ [kworker/1:2-cgroup_destroy]
root       170     2  0 10:59 ?        I<     0:00  \_ [kworker/3:1H-kblockd]
root       172     2  0 10:59 ?        I      0:00  \_ [kworker/2:2-events_power_efficient]
root       214     2  0 10:59 ?        I<     0:00  \_ [kworker/1:1H-kblockd]
root       215     2  0 10:59 ?        S      0:00  \_ [jbd2/sda2-8]
root       216     2  0 10:59 ?        I<     0:00  \_ [ext4-rsv-conver]
root       387     2  0 10:59 ?        S      0:00  \_ [irq/27-mei_me]
root       505     2  0 11:00 ?        S      0:00  \_ [jbd2/sda5-8]
root       506     2  0 11:00 ?        I<     0:00  \_ [ext4-rsv-conver]
root       509     2  0 11:00 ?        S      0:00  \_ [jbd2/sda3-8]
root       510     2  0 11:00 ?        I<     0:00  \_ [ext4-rsv-conver]
root       517     2  0 11:00 ?        S<     0:00  \_ [loop0]
root       519     2  0 11:00 ?        S<     0:00  \_ [loop1]
root       526     2  0 11:00 ?        S      0:00  \_ [jbd2/sda6-8]
root       527     2  0 11:00 ?        I<     0:00  \_ [ext4-rsv-conver]
root       744     2  0 11:00 ?        S      0:00  \_ [scsi_eh_6]
root       745     2  0 11:00 ?        I<     0:00  \_ [scsi_tmf_6]
root       746     2  0 11:00 ?        S      0:00  \_ [usb-storage]
root       747     2  0 11:00 ?        S      0:00  \_ [scsi_eh_7]
root       748     2  0 11:00 ?        I<     0:00  \_ [scsi_tmf_7]
root       749     2  0 11:00 ?        S      0:00  \_ [usb-storage]
root      2598     2  0 11:05 ?        I      0:00  \_ [kworker/2:0-events_power_efficient]
root         1     0  0 10:59 ?        Ss     0:01 /sbin/init
root       257     1  0 10:59 ?        Ss     0:00 /lib/systemd/systemd-journald
root       275     1  0 10:59 ?        Ss     0:00 /lib/systemd/systemd-udevd
root       499     1  0 11:00 ?        Ss     0:00 /sbin/mount.ntfs /dev/sdb3 /mnt/30329FBC329F860E -o rw,nosuid,nodev
root       500     1  0 11:00 ?        Ss     0:00 /sbin/mount.ntfs /dev/sdb1 /mnt/B88CCEEA8CCEA26C -o rw,nosuid,nodev
root       501     1  0 11:00 ?        Ss     0:00 /sbin/mount.ntfs /dev/sdb5 /mnt/38C40916C408D7D0 -o rw,nosuid,nodev
root       502     1  0 11:00 ?        Ss     0:00 /sbin/mount.ntfs /dev/sdb2 /mnt/7EB0CAFEB0CABC41 -o rw,nosuid,nodev
systemd+   564     1  0 11:00 ?        Ssl    0:00 /lib/systemd/systemd-timesyncd
avahi      616     1  0 11:00 ?        Ss     0:00 avahi-daemon: running [joseph.local]
avahi      684   616  0 11:00 ?        S      0:00  \_ avahi-daemon: chroot helper
root       617     1  0 11:00 ?        Ssl    0:00 /usr/sbin/rsyslogd -n -iNONE
root       618     1  0 11:00 ?        Ssl    0:00 /usr/lib/udisks2/udisksd
root       619     1  0 11:00 ?        Ssl    0:00 /usr/lib/accountsservice/accounts-daemon
root       623     1  0 11:00 ?        Ss     0:00 /lib/systemd/systemd-logind
root       624     1  0 11:00 ?        Ssl    0:00 /usr/lib/snapd/snapd
root       625     1  0 11:00 ?        SNs    0:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
rtkit      627     1  0 11:00 ?        SNsl   0:00 /usr/lib/rtkit/rtkit-daemon
root       628     1  0 11:00 ?        Ss     0:00 /usr/sbin/cron -f
root       629     1  0 11:00 ?        Ssl    0:02 /usr/sbin/ModemManager --filter-policy=strict
message+   631     1  0 11:00 ?        Ss     0:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-a
root       632     1  0 11:00 ?        Ss     0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root       633     1  0 11:00 ?        Ssl    0:00 /usr/sbin/NetworkManager --no-daemon
root      2687   633  0 11:06 ?        Sl     0:00  \_ /usr/sbin/pppd nodetach lock nodefaultroute ipv6 , ttyUSB0 noipdefault noauth
root       685     1  0 11:00 ?        Ssl    0:01 /usr/lib/policykit-1/polkitd --no-debug
root       697     1  0 11:00 ?        Ssl    0:00 /usr/sbin/libvirtd
root       713     1  0 11:00 ?        Ssl    0:00 /usr/sbin/gdm3
root      1174   713  0 11:01 ?        Sl     0:00  \_ gdm-session-worker [pam/gdm-password]
joseph    1196  1174  0 11:01 tty2     Ssl+   0:00      \_ /usr/lib/gdm3/gdm-wayland-session /usr/bin/gnome-session
joseph    1200  1196  0 11:01 tty2     Sl+    0:00          \_ /usr/lib/gnome-session/gnome-session-binary
joseph    1231  1200  7 11:01 tty2     Sl+    0:27              \_ /usr/bin/gnome-shell
joseph    1252  1231  1 11:01 tty2     Sl+    0:05              |   \_ /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -lis
joseph    1278  1231  0 11:01 tty2     Sl     0:00              |   \_ ibus-daemon --xim --panel disable
joseph    1282  1278  0 11:01 tty2     Sl     0:00              |       \_ /usr/lib/ibus/ibus-dconf
joseph    1283  1278  0 11:01 tty2     Sl     0:00              |       \_ /usr/lib/ibus/ibus-extension-gtk3
joseph    1443  1278  0 11:01 tty2     Sl     0:00              |       \_ /usr/lib/ibus/ibus-engine-simple
joseph    1358  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-power
joseph    1360  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-print-notifications
joseph    1361  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-rfkill
joseph    1362  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
joseph    1363  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-sharing
joseph    1370  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-smartcard
joseph    1372  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-sound
joseph    1374  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-xsettings
joseph    1379  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-wacom
joseph    1384  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-a11y-settings
joseph    1385  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-clipboard
joseph    1386  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-color
joseph    1389  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-datetime
joseph    1392  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-housekeeping
joseph    1393  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-keyboard
joseph    1394  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-media-keys
joseph    1395  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-settings-daemon/gsd-mouse
joseph    1500  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/evolution/evolution-data-server/evolution-alarm-notify
joseph    1502  1200 10 11:01 tty2     SLl+   0:38              \_ /opt/google/chrome/chrome
joseph    1548  1502  0 11:01 tty2     S+     0:00              |   \_ cat
joseph    1549  1502  0 11:01 tty2     S+     0:00              |   \_ cat
joseph    1632  1502  0 11:01 tty2     S+     0:00              |   \_ /opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome -
joseph    1633  1632  0 11:01 tty2     S+     0:00              |   |   \_ /opt/google/chrome/chrome --type=zygote --enable-crash-re
joseph    1642  1633  0 11:01 tty2     S+     0:00              |   |       \_ /opt/google/chrome/chrome-sandbox /opt/google/chrome/
joseph    1643  1642  0 11:01 tty2     S+     0:00              |   |       |   \_ /opt/google/chrome/nacl_helper
joseph    1645  1633  0 11:01 tty2     S+     0:00              |   |       \_ /opt/google/chrome/chrome --type=zygote --enable-cras
joseph    2074  1645  4 11:01 tty2     Sl+    0:15              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2217  1645  0 11:01 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2242  1645  0 11:01 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2251  1645  0 11:01 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2395  1645  0 11:02 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2427  1645  0 11:02 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2453  1645  0 11:02 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2498  1645  0 11:02 tty2     Sl+    0:02              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    2550  1645  0 11:02 tty2     Sl+    0:00              |   |           \_ /opt/google/chrome/chrome --type=renderer --field
joseph    1686  1502  8 11:01 tty2     Sl+    0:30              |   \_ /opt/google/chrome/chrome --type=gpu-process --field-trial-ha
joseph    1692  1502  0 11:01 tty2     SLl+   0:02              |   \_ /opt/google/chrome/chrome --type=utility --field-trial-handle
joseph    2568  1502  0 11:03 tty2     Sl+    0:00              |   \_ /opt/google/chrome/chrome --type=utility --field-trial-handle
joseph    1504  1200  0 11:01 tty2     Sl+    0:02              \_ /usr/bin/gnome-software --gapplication-service
joseph    1507  1200  0 11:01 tty2     SNl+   0:00              \_ /usr/lib/tracker/tracker-miner-apps
joseph    1519  1200  0 11:01 tty2     SNl+   0:00              \_ /usr/lib/tracker/tracker-miner-fs
joseph    1531  1200  0 11:01 tty2     Sl+    0:00              \_ /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
root       981     1  0 11:00 ?        Ssl    0:00 /usr/lib/upower/upowerd
root       983     1  1 11:00 ?        Ssl    0:07 /usr/lib/packagekit/packagekitd
_apt      2744   983  0 11:07 ?        S      0:00  \_ /usr/lib/apt/methods/https
colord    1119     1  0 11:00 ?        Ssl    0:00 /usr/lib/colord/colord
joseph    1178     1  0 11:01 ?        Ss     0:00 /lib/systemd/systemd --user
joseph    1179  1178  0 11:01 ?        S      0:00  \_ (sd-pam)
joseph    1198  1178  0 11:01 ?        Ss     0:00  \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --syst
joseph    1239  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfsd
joseph    1244  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
joseph    1260  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/at-spi2-core/at-spi-bus-launcher
joseph    1265  1260  0 11:01 ?        S      0:00  |   \_ /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibil
joseph    1267  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
joseph    1271  1178  0 11:01 ?        S<sl   0:00  \_ /usr/bin/pulseaudio --daemonize=no
joseph    1289  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/ibus/ibus-portal
joseph    1300  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/gnome-shell/gnome-shell-calendar-server
joseph    1304  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/evolution/evolution-source-registry
joseph    1308  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/telepathy/mission-control-5
joseph    1312  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-udisks2-volume-monitor
joseph    1326  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-afc-volume-monitor
joseph    1329  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/gnome-online-accounts/goa-daemon
joseph    1334  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-goa-volume-monitor
joseph    1345  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/gnome-online-accounts/goa-identity-service
joseph    1347  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
joseph    1354  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfs-mtp-volume-monitor
joseph    1429  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/evolution/evolution-calendar-factory
joseph    1488  1178  0 11:01 ?        Sl     0:00  \_ /usr/lib/dconf/dconf-service
joseph    1541  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/evolution/evolution-addressbook-factory
joseph    1554  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/tracker/tracker-store
joseph    1578  1178  1 11:01 ?        Ssl    0:04  \_ /usr/lib/gnome-terminal/gnome-terminal-server
joseph    1620  1578  0 11:01 pts/0    Ss     0:00  |   \_ bash
joseph    1623  1620  0 11:01 pts/0    S+     0:00  |   |   \_ tmux
joseph    2579  1578  0 11:04 pts/3    Ss     0:00  |   \_ bash
joseph    2745  2579  0 11:07 pts/3    R+     0:00  |       \_ ps -ef f
joseph    1625  1178  0 11:01 ?        Ss     0:00  \_ tmux
joseph    1626  1625  0 11:01 pts/1    Ss     0:00  |   \_ -bash
root      1630  1626  0 11:01 pts/1    S      0:00  |   |   \_ su -l
root      1635  1630  0 11:01 pts/1    S      0:00  |   |       \_ -bash
root      2738  1635  0 11:06 pts/1    S+     0:00  |   |           \_ nethogs
joseph    1650  1625  0 11:01 pts/2    Ss     0:00  |   \_ -bash
joseph    1658  1650  1 11:01 pts/2    S+     0:03  |       \_ htop
joseph    1638  1178  0 11:01 ?        Ssl    0:00  \_ /usr/lib/gvfs/gvfsd-metadata
joseph    1192     1  0 11:01 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
joseph    1285     1  0 11:01 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
joseph    1419     1  0 11:01 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
root      1647     1  0 11:01 ?        Ssl    0:00 /usr/lib/fwupd/fwupd
root      1667     1  0 11:01 ?        Ssl    0:00 /usr/lib/bolt/boltd
 
Old 09-05-2019, 03:24 AM   #14
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,495

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
OK

packagekitd does not usually do things on its own, It helps other things.

What we will do is run a simulation.
Sounds more interesting than it is.

Code:
apt -s remove packagekit
# edit: no need for sudo
# it is all pretend ;)
it will probably show removal of
"Software & Updates" GUI

and perhaps something else.

"Software & Updates" GUI has already been told not to do updates
Some other GUI might not have been told yet *
 
Old 09-05-2019, 05:34 AM   #15
joseph_lewis
Member
 
Registered: Aug 2019
Location: Sri Lanka
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
oh ok ok... I've done as you told,

Code:
joseph@joseph:~$ apt -s remove packagekit
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  appstream apt-config-icons fwupd fwupd-amd64-signed gnome-software-common libappstream-glib8 libappstream4 libfwupd2
  libgcab-1.0-0 libsmbios-c2 libtss2-esys0 libtss2-udev libxmlb1 python3-distro-info tpm2-abrmd tpm2-tools
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  gnome-software packagekit packagekit-tools
0 upgraded, 0 newly installed, 3 to remove and 150 not upgraded.
Remv gnome-software [3.30.6-5]
Remv packagekit-tools [1.1.12-5]
Remv packagekit [1.1.12-5]
This is the result I got. Can you explain more about this? Will it cause me any problem after? Should I install previously removed applications? Or this way is better?
 
  


Reply

Tags
apt, bandwith, buster, internet


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
[SOLVED] /usr/lib/apt/methods/http error widget Debian 8 07-19-2011 09:36 PM
whats the need of files in /usr/lib/apt/methods/* varun_shrivastava Linux - General 0 10-24-2007 12:06 AM
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
/usr/lib and /usr/local/lib doxxan Slackware 5 06-15-2004 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration