Originally posted by oshunluvr
View Post
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Intercept apt calls and inform the user that upgrade is not a valid argument
# on neon.
# Apt is a CLI tool. I don't think this is worth faffing about with translations
# for, so we just use verbatim strings here without any l10n rigging.
# When in batch mode let 'upgrade' through all the same. Batch mode is when
# no tty is attached to stdout. This is in line with how apt's interface
# stability warning works.
# This is specifically to prevent scripts from breaking. e.g. ubiquity
# will attempt to run upgrade but should generally qualify as !tty.
if ARGV.include?('upgrade') && STDOUT.isatty
[COLOR="#FF0000"] warn 'On KDE neon you should use `pkcon update` to install updates.'
warn 'If you absolutely must use apt you do have to use dist-upgrade or' \
' full-upgrade in place of the upgrade command.'
warn ' [url]https://neon.kde.org/faq#command-to-update[/url]'
[/COLOR]
abort 'Abort.' unless ARGV.include?('-y') || ARGV.include?('--yes')
end
basename = File.basename(__FILE__)
exec("/usr/bin/#{basename}", *ARGV)
[FONT=monospace][COLOR=#000000]if ARGV.include?('upgrade') && STDOUT.isatty[/COLOR]
warn 'On KDE neon you should use `pkcon update` to install updates.'
warn 'If you absolutely must use apt you do have to use dist-upgrade or' \
' full-upgrade in place of the upgrade command.'
warn ' https://neon.kde.org/faq#command-to-update'
abort 'Abort.' unless ARGV.include?('-y') || ARGV.include?('--yes')
end
basename = File.basename(__FILE__)
exec("/usr/bin/#{basename}", *ARGV)
[/FONT]
show neon-settings Package: neon-settings Priority: optional Section: kde Installed-Size: 324 Maintainer: Neon CI <[EMAIL="neon@kde.org"]neon@kde.org[/EMAIL]> Architecture: all Version: 0.0+p18.04+git20190506.0955 Depends: ruby, debconf (>= 0.5) | debconf-2.0 Conflicts: kubuntu-settings-desktop Filename: pool/main/n/neon-settings/neon-settings_0.0+p18.04+git20190506.0955_all.deb Size: 41716 MD5sum: 8b7166ccd8e174021818530fcb02cb1e SHA1: 9538c21ad5545b68ce2a085af2a8f3fa36b99820 SHA256: 428a7c57de0db820d7e23d8c0cd1b6fa334c987ebd16edf965a36e9932828603 SHA512: 5a1433f09eae498662b35eafa31865d371ccabfd384b82d6a804c36a97dfd192e23035754b275160f4ac22555cd50603b1982929e737c05a78a3bcba3c7c178c Description: Settings and artwork for KDE neon This package contains settings used by KDE neon. It also includes artwork and KDE neon branding. . The settings apply to plasma-desktop based workspaces. Description-md5: 4da8a2413e6f90e043e971e4e24451dc Package: neon-settings Priority: optional Section: kde Installed-Size: 324 Maintainer: Neon CI <[EMAIL="neon@kde.org"]neon@kde.org[/EMAIL]> Architecture: all Version: 0.0+p18.04+git20190502.1557 Depends: ruby, debconf (>= 0.5) | debconf-2.0 Conflicts: kubuntu-settings-desktop Filename: pool/main/n/neon-settings/neon-settings_0.0+p18.04+git20190502.1557_all.deb Size: 41576 MD5sum: 104b378ec588d4570c1c0531a31bd917 SHA1: bbb2ecf5f8bff8decf4dde78176b220d4a248837 SHA256: bac7b0d903fc150411775892835520b3b715fb3209376229982ba7fb93300d0c SHA512: 66b0071626241eacf7e836ea193516cc8f18c28e3f96f85348a1e2dba12a9ad4cef9bfc67bf0aa9d14f48076dd69584d2c66825a5ac31bc95192b671219ec7d9 Description: Settings and artwork for KDE neon This package contains settings used by KDE neon. It also includes artwork and KDE neon branding. . The settings apply to plasma-desktop based workspaces. Description-md5: 4da8a2413e6f90e043e971e4e24451dc Package: neon-settings Priority: optional Section: kde Installed-Size: 323 Maintainer: Neon CI <[EMAIL="neon@kde.org"]neon@kde.org[/EMAIL]> Architecture: all Version: 0.0+p18.04+git20190429.1237 Depends: ruby, debconf (>= 0.5) | debconf-2.0 Conflicts: kubuntu-settings-desktop Filename: pool/main/n/neon-settings/neon-settings_0.0+p18.04+git20190429.1237_all.deb Size: 41484 MD5sum: 8e926f0497612c9d16366c5cbf9bedea SHA1: 9d4526a945cf8dacc3dcc303956a93b0362723d9 SHA256: bf2156abd6a69ddc2b6c4619bf38c7623e3070954807b1972b1c0734cf845f3c SHA512: f6395ade39589e815c213cbd7663d0cf97d6eac83f2f5cf7d8bd9606c609d98667ae8ecd2b25f757f3cc2687cef09ce769c6a0df1cbddfe893d3f2fd695dfc3d Description: Settings and artwork for KDE neon This package contains settings used by KDE neon. It also includes artwork and KDE neon branding. . The settings apply to plasma-desktop based workspaces. Description-md5: 4da8a2413e6f90e043e971e4e24451dc Package: neon-settings Priority: optional Section: kde Installed-Size: 319 Maintainer: Neon CI <[EMAIL="neon@kde.org"]neon@kde.org[/EMAIL]> Architecture: all Version: 0.0+p18.04+git20190423.1433 Depends: ruby, debconf (>= 0.5) | debconf-2.0 Conflicts: kubuntu-settings-desktop Filename: pool/main/n/neon-settings/neon-settings_0.0+p18.04+git20190423.1433_all.deb Size: 41044 MD5sum: 6d34d533a9518725f1717ecfd3c0950f SHA1: 27733103765ce42d885490fa4e5640ec76ce8c23 SHA256: b6391d81b8ca431575f8fa95962580abe949fab1823e70c42d8d08761a540146 SHA512: 797b6ada36d6989af309e4eb0a0e40157883e30c34ece46f727fd125b2edda8a0f0654c0dee7868410a70929877fae50d205c6a9fb90bd6a48eb7fc5ff02ae7b Description: Settings and artwork for KDE neon This package contains settings used by KDE neon. It also includes artwork and KDE neon branding. . The settings apply to plasma-desktop based workspaces. Description-md5: 4da8a2413e6f90e043e971e4e24451dc sudo apt install --simulate neon-settings [sudo] password for paul: Reading package lists... Done Building dependency tree Reading state information... Done neon-settings is already the newest version (0.0+p18.04+git20190506.0955). neon-settings set to manually installed. Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done Building dependency tree Reading state information... Done Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) neon-settings:amd64 < 0.0+p18.04+git20190506.0955 @ii mK Ib > Broken neon-settings:amd64 Conflicts on kubuntu-settings-desktop:amd64 < none -> 1:18.04ubuntu11 @un puN > Considering kubuntu-settings-desktop:amd64 9998 as a solution to neon-settings:amd64 3 Removing neon-settings:amd64 rather than change kubuntu-settings-desktop:amd64 Investigating (0) neon-desktop:amd64 < 4+p18.04+git20190322.1030 @ii mK Ib > Broken neon-desktop:amd64 Depends on neon-settings:amd64 < 0.0+p18.04+git20190506.0955 @ii mR > Considering neon-settings:amd64 3 as a solution to neon-desktop:amd64 0 Removing neon-desktop:amd64 rather than change neon-settings:amd64 Done The following additional packages will be installed: ttf-ubuntu-font-family The following packages will be REMOVED: neon-desktop neon-settings The following NEW packages will be installed: kubuntu-settings-desktop ttf-ubuntu-font-family 0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded. Remv neon-desktop [4+p18.04+git20190322.1030] Remv neon-settings [0.0+p18.04+git20190506.0955] Inst ttf-ubuntu-font-family (1:0.83-2 Ubuntu:18.04/bionic [all]) Inst kubuntu-settings-desktop (1:18.04ubuntu11 Ubuntu:18.04/bionic [all]) Conf ttf-ubuntu-font-family (1:0.83-2 Ubuntu:18.04/bionic [all]) Conf kubuntu-settings-desktop (1:18.04ubuntu11 Ubuntu:18.04/bionic [all])
Package: kubuntu-settings-desktop
Versions:
1:18.10ubuntu2 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_cosmic_universe_binary-amd64_Packages) (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_cosmic_universe_binary-i386_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_cosmic_universe_binary-amd64_Packages
MD5: c117d536547fca68e9e608d52e89c5f3
Description Language: en
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_cosmic_universe_i18n_Translation-en
MD5: c117d536547fca68e9e608d52e89c5f3
Reverse Depends:
kubuntu-desktop,kubuntu-settings-desktop
kubuntu-full,kubuntu-settings-desktop
Dependencies:
1:18.10ubuntu2 - libnewt0.52 (2 0.52.11-2ubuntu7) python (0 (null)) ttf-ubuntu-font-family (0 (null)) kubuntu-default-settings (3 1:13.04ubuntu1~) plasma-nm (3 0.9.3.1-0ubuntu1) kubuntu-default-settings (3 1:13.04ubuntu1~) plasma-nm (3 0.9.3.1-0ubuntu1) plasma-nm:i386 (3 0.9.3.1-0ubuntu1) plasma-nm:i386 (3 0.9.3.1-0ubuntu1)
Provides:
1:18.10ubuntu2 -
Reverse Provides:
There are 0 users viewing this topic.
Leave a comment: