[opensuse-factory] zypper in local package question
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm But zypper now wants to download the package instead of using the local one. Is my old-timers showing or ... tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Feb 9, 2016 at 5:44 PM, Patrick Shanahan <paka@opensuse.org> wrote:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
I always use a -f arg. I believe it is required because your doing a vendor/repo change if it is already installed. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Greg Freemyer <greg.freemyer@gmail.com> [02-09-16 17:50]:
On Tue, Feb 9, 2016 at 5:44 PM, Patrick Shanahan <paka@opensuse.org> wrote:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
I always use a -f arg. I believe it is required because your doing a vendor/repo change if it is already installed.
tks, will try next. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [02-09-16 18:06]:
* Greg Freemyer <greg.freemyer@gmail.com> [02-09-16 17:50]:
On Tue, Feb 9, 2016 at 5:44 PM, Patrick Shanahan <paka@opensuse.org> wrote:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
I always use a -f arg. I believe it is required because your doing a vendor/repo change if it is already installed.
tks, will try next.
Nope, "-f" doesn't help. Still wants to dl rather than use specified local packages. :( tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
10.02.2016 01:44, Patrick Shanahan пишет:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm)
Is my old-timers showing or ...
tks,
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov composed on 2016-02-10 06:36 (UTC+0300):
Patrick Shanahan composed:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm)
Unless something changed very recently, the raw package name, if present in the current directory, is all it takes. If that really has been broken now, copy or symlink the package into the zypp cache, then install, or use rpm to install. -- "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-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
10.02.2016 06:49, Felix Miata пишет:
Andrei Borzenkov composed on 2016-02-10 06:36 (UTC+0300):
Patrick Shanahan composed:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm)
Unless something changed very recently, the raw package name, if present in the current directory, is all it takes.
Yes. Apparently my memory fails me. I think last time I have seen this it was the problem, but probably I'm mistaken.
If that really has been broken now, copy or symlink the package into the zypp cache, then install, or use rpm to install.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-09-16 22:38]:
10.02.2016 01:44, Patrick Shanahan пишет:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm)
for rpm in pwd, sudo zypper -v in ./<package-name>.rpm still downloads from a repo. does "./" not equal pwd? I have been using rpm to install since zypper stopped performing as I expect. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Отправлено с iPhone
10 февр. 2016 г., в 7:23, Patrick Shanahan <paka@opensuse.org> написал(а):
* Andrei Borzenkov <arvidjaar@gmail.com> [02-09-16 22:38]:
10.02.2016 01:44, Patrick Shanahan пишет:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm)
for rpm in pwd, sudo zypper -v in ./<package-name>.rpm
still downloads from a repo.
does "./" not equal pwd?
You know what absolute pathname is, do not you?
I have been using rpm to install since zypper stopped performing as I expect. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/02/2016 06:23, Patrick Shanahan wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-09-16 22:38]:
10.02.2016 01:44, Patrick Shanahan пишет:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm) for rpm in pwd, sudo zypper -v in ./<package-name>.rpm
still downloads from a repo.
does "./" not equal pwd?
I have been using rpm to install since zypper stopped performing as I expect. Put the rpm in a directory, createrepo "directory", zypper ar "path to directory" "repo name" zypper ref "repo name" and last but not least zypper in -f --from "rep name" and your package gets installed. You've been around for long enough to understand the above:-) Regards Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Dave Plater <dplater.list@gmail.com> [02-10-16 11:04]:
On 10/02/2016 06:23, Patrick Shanahan wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-09-16 22:38]:
10.02.2016 01:44, Patrick Shanahan пишет:
I have forgotten the way or zypper install action has changed. I used to be able to install a local package: zypper in ./<package-name>.rpm
But zypper now wants to download the package instead of using the local one.
You need to use absolute path name (`pwd`/package.rpm) for rpm in pwd, sudo zypper -v in ./<package-name>.rpm
still downloads from a repo.
does "./" not equal pwd?
I have been using rpm to install since zypper stopped performing as I expect. Put the rpm in a directory, createrepo "directory", zypper ar "path to directory" "repo name" zypper ref "repo name" and last but not least zypper in -f --from "rep name" and your package gets installed. You've been around for long enough to understand the above:-)
Yes and have such. I am able to install the packages, just not with zypper in the manner previously possible. This thread is about *only* not being able to use cl: zypper -v in ./<package>.rmp Not about being unable to install ./<package>.rpm tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
10.02.2016 19:03, Dave Plater пишет:
Put the rpm in a directory, createrepo "directory", zypper ar "path to directory" "repo name" zypper ref "repo name" and last but not least zypper in -f --from "rep name" and your package gets installed.
That is exactly what "zypper in rpm-file" does except it does it on the fly and saves you all the troubles.
You've been around for long enough to understand the above:-)
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov <arvidjaar@gmail.com> writes:
You need to use absolute path name (`pwd`/package.rpm)
You don't even need the directory component, just the file name. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Patrick Shanahan <paka@opensuse.org> writes:
But zypper now wants to download the package instead of using the local one.
It "downloads" it from the temporary Plain RPM files cache. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andreas Schwab <schwab@suse.de> [02-10-16 03:43]:
Patrick Shanahan <paka@opensuse.org> writes:
But zypper now wants to download the package instead of using the local one.
It "downloads" it from the temporary Plain RPM files cache.
rpm -q --last zypper zypper-1.12.31-1.1.x86_64 Tue 09 Feb 2016 08:02:35 AM EST Did not try to download this time and but: <quote> #> zypper -v in --force darktable-2.1+git1455064867.c1cec14-1.1.x86_64.rpm Error building the cache: [|] Failed to cache repo (1). Initializing Target Checking whether to refresh metadata for Plain RPM files cache Building repository 'Plain RPM files cache' cache ................................................................................[done] Error building the cache: [|] Failed to cache repo (1). History: - 'repo2solv.sh' '-o' '/var/cache/zypp/solv/_tmpRPMcache_/solv' '-X' '-R' '/var/cache/zypper/RPMS' rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm Warning: Skipping repository 'Plain RPM files cache' because of the above error. Some of the repositories have not been refreshed because of an error. Loading repository data... Reading installed packages... Force resolution: No Package '_tmpRPMcache_:darktable=0:2.1+git1455064867.c1cec14-1.1' not found in specified repositories. Resolving package dependencies... Force resolution: No Nothing to do. </quote> -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64 and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64 Why would zypper try to use a non-existing version. and I reinstalled libcurl4-7.47.0-1.1.x86_64 but zypper still tries to use the wrong version? Possibly I am out-of-my-league here ??? tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
10.02.2016 19:11, Patrick Shanahan пишет:
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64
and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64
Why would zypper try to use a non-existing version.
What do you have in /var/cache/zypper/RPMS?
and I reinstalled libcurl4-7.47.0-1.1.x86_64 but zypper still tries to use the wrong version?
Possibly I am out-of-my-league here ???
tks,
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 12:23]:
10.02.2016 19:11, Patrick Shanahan пишет:
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64
and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64
Why would zypper try to use a non-existing version.
What do you have in /var/cache/zypper/RPMS?
a broken 177 bite file libcurl4-7.46.0-2.1.x86_64.rpm I guess this needs to be removed? tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
10.02.2016 21:06, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 12:23]:
10.02.2016 19:11, Patrick Shanahan пишет:
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64
and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64
Why would zypper try to use a non-existing version.
What do you have in /var/cache/zypper/RPMS?
a broken 177 bite file libcurl4-7.46.0-2.1.x86_64.rpm
I guess this needs to be removed?
Yes. I wonder if the whole /var/cache/zypper/RPMS is left intentionally and for what reason. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 13:16]:
10.02.2016 21:06, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 12:23]:
10.02.2016 19:11, Patrick Shanahan пишет:
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64
and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64
Why would zypper try to use a non-existing version.
What do you have in /var/cache/zypper/RPMS?
a broken 177 bite file libcurl4-7.46.0-2.1.x86_64.rpm
I guess this needs to be removed?
Yes. I wonder if the whole /var/cache/zypper/RPMS is left intentionally and for what reason.
And that did correct my problem re Subject. My /var/cache/zypper/RPMS/ has 1.6G :( I have 4 other local Tw boxes which have *no* /var/cache/zypper. Appears whatever is supposed to clear this directory is not doing it's job :( I am going to move that directory to a remote drive and watch for anomalies. tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 10 Feb 2016 13:25:53 -0500 Patrick Shanahan <paka@opensuse.org> wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 13:16]:
10.02.2016 21:06, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-10-16 12:23]:
10.02.2016 19:11, Patrick Shanahan пишет:
* Andreas Schwab <schwab@suse.de> [02-10-16 09:37]:
Patrick Shanahan <paka@opensuse.org> writes:
> rpms2solv: libcurl4-7.46.0-2.1.x86_64.rpm: not a rpm
Try to fix that first.
ok, I don't have libcurl4-7.46.xxx on the box, it is: libcurl4-7.47.0-1.1.x86_64
and rpm -qa |grep libcurl libcurl4-7.47.0-1.1.x86_64
Why would zypper try to use a non-existing version.
What do you have in /var/cache/zypper/RPMS?
a broken 177 bite file libcurl4-7.46.0-2.1.x86_64.rpm
I guess this needs to be removed?
Yes. I wonder if the whole /var/cache/zypper/RPMS is left intentionally and for what reason.
And that did correct my problem re Subject.
My /var/cache/zypper/RPMS/ has 1.6G :(
I have 4 other local Tw boxes which have *no* /var/cache/zypper. Appears whatever is supposed to clear this directory is not doing it's job :(
I am going to move that directory to a remote drive and watch for anomalies.
tks,
Multiple dup upgrades ? In this case, I would try: 'zypper clean' 'zypper ref' zypper in ./local.rpm should work. If not it is a bug in zypper or a component IMO. HTH, Peter -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Andreas Schwab
-
Andrei Borzenkov
-
Dave Plater
-
Felix Miata
-
Greg Freemyer
-
Patrick Shanahan
-
Peter Linnell