Mailinglist Archive: opensuse-bugs (8105 mails)

< Previous Next >
[Bug 246389] yast2 update empties /dev
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 19 Feb 2007 06:00:54 -0700 (MST)
  • Message-id: <20070219130054.6AFA725C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=246389





------- Comment #18 from locilka@xxxxxxxxxx 2007-02-19 06:00 MST -------
devs.rpm has been dropped in openSUSE 10.3, such package should _not_ exist
anymore. That's why it was selected to be dropped by the packagemanager during
that update process.

So you have reported a bug with against change in code made by yourself :)
That's pretty confusing, don't you think so?

Anyway, I've done this change to the yast2-packager-2.15.15:

- Do not call bind mount and do not remove devs.rpm when running
the System Update (#246389).

--- cut ---
// Feature #301903, bugzilla #244937
- if (Mode::update()) {
+ // "/" means updating the running system
+ if (Mode::update() && Installation::destdir != "/") {
// When upgrading system, remove devs.rpm if installed
LocalCommand (sformat (
"/bin/rpm --root '%1' -q 'devs' && /bin/rpm --nodeps --root '%1' -e
'devs'",
--- cut ---

PS: The problem will exist after my change, zypp will drop that package anyway.
I've just minimized the use-case to a update-from-CD.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References