This is posted under the Experimentation/Customization/Optimization (> Topic: Rules for posting in this forum).
Linking to Topic: Disabling automatic security updates?
An Example
There are packages:
(earlier > Topic: 2,170 .desktop files!)
Simulation:
Adding to removed packages:
The debug symbols (-dbg) can be installed without kubuntu-debug-installer.
Purging 8 files
(configuration files are deleted too)
You could...
After the remove you could still use the software-properties-kde.
Alt + F2 and: kdesudo software-properties-kde
or you could add it to the K-Menu; Right click the Kicoff Application Launcher button > Menu Editor.
If the Kubuntu built-in notification system is not working without KPackageKit the information of the upgradeable packages can be looked with the command:
and it is possible to add an own notification system with launcher for your package manager.
Example script (System Settings > Startup and Shutdown)
With the Muon the case 0 is:
Linking to Topic: Disabling automatic security updates?
An Example
There are packages:
- 1 kpackagekit
KDE package management tool using PackageKit - 2 packagekit
provides a software installation daemon - 3 packagekit-backend-apt
APT backend for packagekit - 4 libpackagekit-qt-12
Library for accessing PackageKit using Qt. - 5 libpackagekit-glib2-12
Advanced library for accessing PackageKit using GLib - 6 python-packagekit
PackageKit Python bindings
(earlier > Topic: 2,170 .desktop files!)
- 7 app-install-data
Ubuntu applications (data files)
Simulation:
Code:
sudo apt-get purge -s kpackagekit packagekit packagekit-backend-apt libpackagekit-qt-12 libpackagekit-glib2-12 python-packagekit app-install-data
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
app-install-data* kpackagekit* kubuntu-debug-installer*
libpackagekit-glib2-12* libpackagekit-qt-12* packagekit*
packagekit-backend-apt* python-packagekit*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
app-install-data* kpackagekit* kubuntu-debug-installer*
libpackagekit-glib2-12* libpackagekit-qt-12* packagekit*
packagekit-backend-apt* python-packagekit*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
kubuntu-debug-installer
Debug package installer for Kubuntu
This installer permits drkonqi, KDE's automatic backtrace and bug report
utility to try find and install missing debug symbols, so that backtraces
become more useful.
Debug package installer for Kubuntu
This installer permits drkonqi, KDE's automatic backtrace and bug report
utility to try find and install missing debug symbols, so that backtraces
become more useful.
Purging 8 files
(configuration files are deleted too)
Code:
sudo apt-get purge kpackagekit packagekit packagekit-backend-apt libpackagekit-qt-12 libpackagekit-glib2-12 python-packagekit app-install-data kubuntu-debug-installer
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
app-install-data* kpackagekit* kubuntu-debug-installer*
libpackagekit-glib2-12* libpackagekit-qt-12* packagekit*
packagekit-backend-apt* python-packagekit*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
After this operation, 32.4MB disk space will be freed.
Do you want to continue [Y/n]? y
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
app-install-data* kpackagekit* kubuntu-debug-installer*
libpackagekit-glib2-12* libpackagekit-qt-12* packagekit*
packagekit-backend-apt* python-packagekit*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
After this operation, 32.4MB disk space will be freed.
Do you want to continue [Y/n]? y
You could...
After the remove you could still use the software-properties-kde.
Alt + F2 and: kdesudo software-properties-kde
or you could add it to the K-Menu; Right click the Kicoff Application Launcher button > Menu Editor.
If the Kubuntu built-in notification system is not working without KPackageKit the information of the upgradeable packages can be looked with the command:
Code:
/usr/lib/update-notifier/apt-check --human-readable
23 package can be updated.
0 updates are security updates.
0 updates are security updates.
Example script (System Settings > Startup and Shutdown)
Code:
#!/bin/sh # Check interval (seconds), if there are no upgradeable packages # 5 min = 300 s T1=300 # Nagging interval (seconds) # 30 min = 1800 s T2=1800 while [ 1 ] do sleep $T1 CHECK=`/usr/lib/update-notifier/apt-check --human-readable` UPDATE=` echo $CHECK | cut -d " " -f 1 - ` if [ $UPDATE -gt 0 ]; then kdialog --title "Upgrades available" --warningyesnocancel "$CHECK \n \n Launch the Synaptic Package Manager ?" case "$?" in 0) # Yes - start the synaptic `kdesudo "synaptic --upgrade-mode"` sleep $T1 ;; 1) # No - don't start the synaptic - will continue to nag sleep $T2 ;; 2) # Cancel - stop nagging break ;; esac fi done
With the Muon the case 0 is:
Code:
0) # Yes - start the muon muon sleep $T1 ;;