[opensuse] is it possible to create rpm from installed package?
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither. I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it. Is $SUBJECT possible? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/10/2016 2:07, Felix Miata wrote:
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither. I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
Is $SUBJECT possible?
You can list the contents of the rpm that was installed on hpg33 (rpm -ql mc). Then, copy all those files to a directory structure hanging from somewhere that is the same. Copy all mc files to the correct places. Then zip that structure. It is not an rpm, but as long as no scripts are needed, you may install it successfully. -- Saludos/Cheers, Carlos E.R. (Minas-Morgul - W10) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. composed on 2016-10-30 02:14 (UTC+0200):
Felix Miata wrote:
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither. I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
Is $SUBJECT possible?
You can list the contents of the rpm that was installed on hpg33 (rpm -ql mc). Then, copy all those files to a directory structure hanging from somewhere that is the same. Copy all mc files to the correct places. Then zip that structure.
It is not an rpm, but as long as no scripts are needed, you may install it successfully.
No scripts needed in what context? The 4.8.18 rpm has 5 files in INFO/SCRIPTS/ What about dependency fulfillment? INFO/REQUIRES/ has 27 lines. Also: # rpm -ql mc | wc -l 202 Besides being tedious, lots of those are symlinks which somehow acquire timestamps from the rpm rather than from installation on the target. I created an archive like you suggested, but then only copied selected files out to the target using mc, those with different filesizes in most locations, but the whole of /usr/lib/mc/. It opens OK, which 4.8.18 does not[1], but I wonder if any booby traps lurk? [1] https://mail.gnome.org/archives/mc/2016-October/msg00008.html -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-10-30 03:29, Felix Miata wrote:
Carlos E. R. composed on 2016-10-30 02:14 (UTC+0200):
Felix Miata wrote:
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither. I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
Is $SUBJECT possible?
You can list the contents of the rpm that was installed on hpg33 (rpm -ql mc). Then, copy all those files to a directory structure hanging from somewhere that is the same. Copy all mc files to the correct places. Then zip that structure.
It is not an rpm, but as long as no scripts are needed, you may install it successfully.
No scripts needed in what context? The 4.8.18 rpm has 5 files in INFO/SCRIPTS/
I don't know, but as there is an rpm previously installed, they were run in the past.
What about dependency fulfillment? INFO/REQUIRES/ has 27 lines.
No checking at all.
Also: # rpm -ql mc | wc -l 202
Besides being tedious, lots of those are symlinks which somehow acquire timestamps from the rpm rather than from installation on the target.
Well, as you are overwriting an rpm, the symlinks already exist. You might writeup a script using that list.
I created an archive like you suggested, but then only copied selected files out to the target using mc, those with different filesizes in most locations, but the whole of /usr/lib/mc/. It opens OK, which 4.8.18 does not[1], but I wonder if any booby traps lurk?
I don't think so... however, if you computer catches fire, I know nothing :-p Otherwise... pick up the sources, build and "make install".
[1] https://mail.gnome.org/archives/mc/2016-October/msg00008.html
Ugh. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 30.10.2016 03:14 saaku, Carlos E. R. wrote:
Midnight Commander
- just wondered if a suitable rpm might be at <http://rpmfind.net/linux/rpm2html/search.php?query=mc&submit=Search+...&system=opensuse&arch=> regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ellanios82 composed on 2016-10-30 11:21 (UTC+0200):
- just wondered if a suitable rpm might be at
<http://rpmfind.net/linux/rpm2html/search.php?query=mc&submit=Search+...&system=opensuse&arch=>
No 4.8.16 or 4.8.17 in those results. I was able to get rpmrebuild to make me a 4.8.17 rpm from a different installation where I remembered to 'zypper al mc' before the updates that included 4.8.18. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30.10.2016 11:34 saaku, Felix Miata wrote:
ellanios82 composed on 2016-10-30 11:21 (UTC+0200):
- just wondered if a suitable rpm might be at
<http://rpmfind.net/linux/rpm2html/search.php?query=mc&submit=Search+...&system=opensuse&arch=>
No 4.8.16 or 4.8.17 in those results. I was able to get rpmrebuild to make me a 4.8.17 rpm from a different installation where I remembered to 'zypper al mc' before the updates that included 4.8.18.
- too late - too late : only this evening investigated contents of : /var/cache/zypp/packages/download.opensuse.org-oss/suse/x86_64 & do see : mc-4.8.17-1.4.x86_64.rpm ....... may i enquire : how frequently do you see fit to zypper clean , to clear out contents of /var/cache/zypp/packages/download.opensuse.org-oss/suse/x86_64 ? regards ......... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ellanios82 composed on 2016-10-30 20:49 (UTC+0200):
- too late - too late : only this evening investigated contents of :
/var/cache/zypp/packages/download.opensuse.org-oss/suse/x86_64
& do see : mc-4.8.17-1.4.x86_64.rpm
.......
may i enquire : how frequently do you see fit to zypper clean , to
clear out contents of /var/cache/zypp/packages/download.opensuse.org-oss/suse/x86_64 ?
Rarely, as there's nothing there except briefly during up or dup processes. # grep keep /etc/zypp/repos.d/*SS*repo Non-OSS.repo:keeppackages=0 OSS.repo:keeppackages=0 My test installations are all on small filesystems. There's no room for retaining installed rpms. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30.10.2016 11:21 saaku, ellanios82 wrote: ^^^^^ > On 30.10.2016 03:14 saaku, Carlos E. R. wrote: ^^^^^^ - as above "saaku" appears mysteriously , although my locale, date & time are entered correctly using Yast : the Afar locale "aa_DJ" insists on doing an 'Illegal Immigrant" into TW : likewise Afar locale "aa_DJ" has taken over the xfce Panel clock Orage. cheers ...... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-10-30 10:54, ellanios82 wrote:
On 30.10.2016 11:21 saaku, ellanios82 wrote: ^^^^^
On 30.10.2016 03:14 saaku, Carlos E. R. wrote:
Dunno. Perhaps the first by alphabetical order. Check preferences, composition, spelling, perhaps. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 30.10.2016 03:17 carra, Carlos E. R. wrote:
On 2016-10-30 10:54, ellanios82 wrote:
On 30.10.2016 11:21 saaku, ellanios82 wrote: ^^^^^
On 30.10.2016 03:14 saaku, Carlos E. R. wrote: Dunno.
Perhaps the first by alphabetical order. Check preferences, composition, spelling, perhaps.
- thanks : looks OK : Language : English_US { cannot see where the ethiopians get in } ........... cheers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Sat, 29 Oct 2016, Felix Miata wrote:
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither.
https://software.opensuse.org/package/mc?search_term=%22mc%22 There's 4.8.17 in e.g. http://download.opensuse.org/repositories/home:/psmt/openSUSE_Tumbleweed/
I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
What's broken with mc-4.8.18? -dnh -- No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-10-30 04:11, David Haller wrote:
Hello,
On Sat, 29 Oct 2016, Felix Miata wrote:
What's broken with mc-4.8.18?
From a previous post, I guess this: [1] https://mail.gnome.org/archives/mc/2016-October/msg00008.html -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
David Haller composed on 2016-10-30 04:11 (UTC+0100):
Felix Miata wrote:
https://software.opensuse.org/package/mc?search_term=%22mc%22
So it does. I have such poor luck in searching with quotes that I didn't think to try that.
There's 4.8.17 in e.g. http://download.opensuse.org/repositories/home:/psmt/openSUSE_Tumbleweed/
Not for any x86 arch though.
I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
What's broken with mc-4.8.18?
No luck figuring out how to narrow a search to something on point on https://www.midnight-commander.org/report so no idea if http://mail.gnome.org/archives/mc/2016-October/msg00008.html did or might produce a fix. I tried a Base:System BS build, but it's no different. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Sun, 30 Oct 2016, Felix Miata wrote:
David Haller composed on 2016-10-30 04:11 (UTC+0100):
Felix Miata wrote:
https://software.opensuse.org/package/mc?search_term=%22mc%22
So it does. I have such poor luck in searching with quotes that I didn't think to try that.
There's 4.8.17 in e.g. http://download.opensuse.org/repositories/home:/psmt/openSUSE_Tumbleweed/
Not for any x86 arch though.
There are: http://download.opensuse.org/repositories/home:/psmt/openSUSE_Tumbleweed/i58... http://download.opensuse.org/repositories/home:/psmt/openSUSE_Tumbleweed/x86...
I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
What's broken with mc-4.8.18?
No luck figuring out how to narrow a search to something on point on https://www.midnight-commander.org/report so no idea if http://mail.gnome.org/archives/mc/2016-October/msg00008.html
Sorry, no idea about that.
did or might produce a fix. I tried a Base:System BS build, but it's no different.
Of course, it's the same. -dnh -- "`That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.'" - Marvin's first ever compliment about anybody. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata composed on 2016-10-29 20:07 (UTC-0400):
I forgot to lock mc before updating TW installation #2 on host hpg33, resulting in 4.8.17 being replaced by 4.8.18. Nothing in between 4.8.15 and 4.8.18 exists in any openSUSE repo that I can find. https://software.opensuse.org/search returns no Midnight Commander package due to https://bugzilla.opensuse.org/show_bug.cgi?id=930505 and/or https://github.com/openSUSE/software-o-o/issues/61 or maybe neither. I have other TW installations that still have 4.8.17, including host hpg33, which unlike 4.8.18 is not broken, so I would like to be able to use it.
Is $SUBJECT possible?
Turns out yes, in TW at least, in the form of package rpmrebuild, which pulls in 18 other packages, for total installed size 87.5MiB. Other options: http://unix.stackexchange.com/questions/140778/how-to-build-an-rpm-package-f... I used rpmrebuild. The result rpm is 12k larger than 42.2's 4.8.15, 9k smaller than TW's 4.8.18. Installing it with rpm -Uvh --oldpackage produced a remove file nosuch /usr/share/mc/syntax/cuda.syntax error, but other than that, mc seems to work as expected, and now there's a zypper lock on it. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
David Haller
-
ellanios82
-
Felix Miata