Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553128 - app-admin/system-config-printer-{common,gnome} removal request
Summary: app-admin/system-config-printer-{common,gnome} removal request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: Removed on: 2015-08-04
Keywords:
Depends on: 553232
Blocks:
  Show dependency tree
 
Reported: 2015-06-24 10:04 UTC by Pacho Ramos
Modified: 2015-08-04 21:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-06-24 10:04:26 UTC
In favor of app-admin/system-config-printer
Comment 1 Pacho Ramos gentoo-dev 2015-06-24 10:05:32 UTC
People will simply need to run:
emerge -C app-admin/system-config-printer-common app-admin/system-config-printer-gnome && emerge -1 app-admin/system-config-printer
Comment 2 Oleh 2015-06-26 04:07:54 UTC
What's a specific reason why this change made?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-26 04:22:17 UTC
(In reply to Oleg from comment #2)
> What's a specific reason why this change made?

No support from any upstream, lots of work for the maintainer rebasing/updating the patch when bumping the package, and the splitting never really worked (see bug #456360, #508344), kde eventually was forced to rdep on system-config-printer-gnome - which made the split completely useless.
Comment 4 Marek Bartosiewicz 2015-06-29 03:29:12 UTC
It's not so simple afterwards. Portage blocks me from updating my ~amd64 system:


[ebuild     U  ] sys-libs/efivar-0.20 [0.15]
[ebuild     U  ] dev-python/setuptools-18.0.1 [17.1.1]
[ebuild     U  ] dev-python/py-1.4.30 [1.4.29]
[ebuild     U  ] dev-python/ndg-httpsclient-0.4.0 [0.3.2] PYTHON_TARGETS="python3_3%* -python3_4%" 
[ebuild     U  ] dev-python/subunit-1.1.0 [1.0.0]
[ebuild     U  ] dev-libs/libgcrypt-1.6.3-r3 [1.6.3-r2]
[ebuild     U  ] media-libs/lensfun-0.3.1 [0.3.0] USE="{-test%}" 
[ebuild     U  ] sys-boot/efibootmgr-0.12 [0.11.0]
[ebuild   R    ] app-crypt/heimdal-1.5.3-r2  USE="-threads*" 
[ebuild     U  ] net-fs/samba-4.1.19 [4.1.18]
[ebuild     U  ] media-gfx/ufraw-0.22 [0.21-r1]
[ebuild     U  ] dev-vcs/git-2.4.5 [2.4.4]
[ebuild     U  ] gnome-extra/zenity-3.16.3 [3.16.2]
[ebuild     U  ] x11-wm/mutter-3.16.2-r1 [3.16.2]
[ebuild  N    #] app-admin/system-config-printer-common-1.4.3  USE="policykit -doc" PYTHON_TARGETS="python2_7" 
[ebuild  N    #] app-admin/system-config-printer-gnome-1.4.3-r1  USE="gnome-keyring" LINGUAS="pl -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko -lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pt -pt_BR -ro -ru -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 
[uninstall     ] app-admin/system-config-printer-1.4.8 
[blocks b      ] app-admin/system-config-printer-gnome ("app-admin/system-config-printer-gnome" is blocking app-admin/system-config-printer-1.4.8)
[blocks b      ] app-admin/system-config-printer-common ("app-admin/system-config-printer-common" is blocking app-admin/system-config-printer-1.4.8)

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by app-admin/system-config-printer-gnome-1.4.3-r1::gentoo
# required by gnome-base/gnome-control-center-3.16.2::gnome
# required by net-libs/gnome-online-accounts-3.16.3-r1::gentoo[gnome]
# required by gnome-extra/gnome-contacts-3.16.2::gnome
# required by gnome-base/gnome-core-apps-3.16.0::gnome
# required by gnome-base/gnome-3.16.0::gnome
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (24 Jun 2015)
# Replaced by app-admin/system-config-printer, to migrate
# simply run:
# emerge -C system-config-printer-common system-config-printer-gnome
# emerge -1 system-config-printer
# Removal in a month (#553128).
=app-admin/system-config-printer-common-1.4.3
# required by gnome-base/gnome-control-center-3.16.2::gnome
# required by net-libs/gnome-online-accounts-3.16.3-r1::gentoo[gnome]
# required by gnome-extra/gnome-contacts-3.16.2::gnome
# required by gnome-base/gnome-core-apps-3.16.0::gnome
# required by gnome-base/gnome-3.16.0::gnome
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (24 Jun 2015)
# Replaced by app-admin/system-config-printer, to migrate
# simply run:
# emerge -C system-config-printer-common system-config-printer-gnome
# emerge -1 system-config-printer
# Removal in a month (#553128).
=app-admin/system-config-printer-gnome-1.4.3-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-29 03:42:53 UTC
(In reply to Marek Bartosiewicz from comment #4)

Probably portage's heuristics decided that an installed masked dependency is preferable to an uninstalled unmasked dependency which blocks an existing package...

So let's simplify portage's job.

+  29 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  gnome-control-center-3.14.2-r1.ebuild, gnome-control-center-3.14.5.ebuild,
+  gnome-control-center-3.16.2.ebuild:
+  Allow only @system-config-printer, not system-config-printer-gnome, to help
+  portage dep resolution (bug #553128, thanks to Marek Bartosiewicz).

+  29 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  cinnamon-control-center-2.4.2-r2.ebuild,
+  cinnamon-control-center-2.6.0.ebuild:
+  Allow only system-config-printer, not system-config-printer-gnome, to help
+  portage dep resolution (bug #553128, thanks to Marek Bartosiewicz).
Comment 6 Marek Bartosiewicz 2015-06-30 06:00:35 UTC
Thanks!
Is it in portage yet? I just did a tree sync and got this:

[ebuild  N    #] app-admin/system-config-printer-common-1.4.3::gentoo  USE="policykit -doc" PYTHON_TARGETS="python2_7" 872 KiB
[ebuild  N    #] app-admin/system-config-printer-gnome-1.4.3-r1::gentoo  USE="gnome-keyring" LINGUAS="pl -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko -lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pt -pt_BR -ro -ru -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 0 KiB
[uninstall     ] app-admin/system-config-printer-1.4.8::gentoo  USE="gnome-keyring policykit -doc" LINGUAS="pl -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko -lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pt -pt_BR -ro -ru -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7"
[blocks b      ] app-admin/system-config-printer-gnome ("app-admin/system-config-printer-gnome" is blocking app-admin/system-config-printer-1.4.8)
[blocks b      ] app-admin/system-config-printer-common ("app-admin/system-config-printer-common" is blocking app-admin/system-config-printer-1.4.8)

Total: 13 packages (11 upgrades, 2 new, 1 uninstall), Size of downloads: 126230 KiB
Conflict: 2 blocks

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by gnome-base/gnome-control-center-3.16.2::gnome
# required by gnome-base/gnome-shell-3.16.2::gnome
# required by virtual/notification-daemon-0::gentoo[gnome]
# required by x11-libs/libnotify-0.7.6-r1::gentoo
# required by gnome-extra/zenity-3.16.3::gentoo[libnotify]
# required by x11-wm/mutter-3.16.2-r1::gentoo
# required by gnome-base/gnome-3.16.0::gnome
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (24 Jun 2015)
# Replaced by app-admin/system-config-printer, to migrate
# simply run:
# emerge -C system-config-printer-common system-config-printer-gnome
# emerge -1 system-config-printer
# Removal in a month (#553128).
=app-admin/system-config-printer-gnome-1.4.3-r1
# required by app-admin/system-config-printer-gnome-1.4.3-r1::gentoo
# required by gnome-base/gnome-control-center-3.16.2::gnome
# required by gnome-base/gnome-shell-3.16.2::gnome
# required by virtual/notification-daemon-0::gentoo[gnome]
# required by x11-libs/libnotify-0.7.6-r1::gentoo
# required by gnome-extra/zenity-3.16.3::gentoo[libnotify]
# required by x11-wm/mutter-3.16.2-r1::gentoo
# required by gnome-base/gnome-3.16.0::gnome
# required by @selected
# required by @world (argument)
# /usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (24 Jun 2015)
# Replaced by app-admin/system-config-printer, to migrate
# simply run:
# emerge -C system-config-printer-common system-config-printer-gnome
# emerge -1 system-config-printer
# Removal in a month (#553128).
=app-admin/system-config-printer-common-1.4.3


Something has changed, but maybe I should wait for portage tree update.
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-30 06:03:49 UTC
(In reply to Marek Bartosiewicz from comment #6)

Read Pacho's instructions that portage printed for you ;)

> # Pacho Ramos <pacho@gentoo.org> (24 Jun 2015)
> # Replaced by app-admin/system-config-printer, to migrate
> # simply run:
> # emerge -C system-config-printer-common system-config-printer-gnome
> # emerge -1 system-config-printer
Comment 8 Marek Bartosiewicz 2015-06-30 06:06:48 UTC
That was the first thing I did after I saw the info from portage. Right now I have it installed, but portage wants to reinstall masked packages back for some reason.

emerge -pv1 system-config-printer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-admin/system-config-printer-1.4.8::gentoo  USE="gnome-keyring policykit -doc" LINGUAS="pl -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko -lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pt -pt_BR -ro -ru -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 9 Marek Bartosiewicz 2015-06-30 06:13:12 UTC
Ah, I think it is caused by b0rked migration from gnome 3.16 overlay to portage gnome 3.16:

# required by app-admin/system-config-printer-gnome-1.4.3-r1::gentoo
# required by gnome-base/gnome-control-center-3.16.2::gnome
# required by gnome-base/gnome-shell-3.16.2::gnome
# required by virtual/notification-daemon-0::gentoo[gnome]
# required by x11-libs/libnotify-0.7.6-r1::gentoo
# required by gnome-extra/zenity-3.16.3::gentoo[libnotify]
# required by x11-wm/mutter-3.16.2-r1::gentoo
# required by gnome-base/gnome-3.16.0::gnome
# required by @selected
# required by @world (argument)

I removed gnome overlay, but as you can see some packeges are still not reemerged.

I'll try to fix it on my own.
Comment 10 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-30 06:33:21 UTC
(In reply to Marek Bartosiewicz from comment #9)
> Ah, I think it is caused by b0rked migration from gnome 3.16 overlay to
> portage gnome 3.16:

In this case, you may need to re-emerge gnome-control-center. 

Sorry, I should have read your message more carefully.
Comment 11 Marek Bartosiewicz 2015-06-30 06:36:44 UTC
Thanks again, after reemerging leftover packages from removed gnome overlay everything is back to normal.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-07-01 18:23:10 UTC
To ease rebuild of packages that came from gnome overlay, you can add "*/*::gnome" to /etc/portage/package.mask/gnome-overlay. Until the next time you want to use ebuilds from the overlay.
Comment 13 Maciej Mrozowski gentoo-dev 2015-07-02 23:02:09 UTC
Apologies for splitting package in first place. Should have gone with USE flag for gnome deps...
Comment 14 Johannes Huber (RETIRED) gentoo-dev 2015-08-04 21:07:53 UTC
Thanks all. Packages removed from tree.