Displaying 20 results from an estimated 64 matches for "pkg_name".
2019 Jan 30
1
[PATCH v2] v2v: linux: use NEVR for querying RPM packages (RHBZ#1669395)
...not work.
+ *
+ * For example:
+ * RHEL 6 (rpm 4.8.0):
+ * $ rpm -q tar-2:1.23-11.el6.x86_64
+ * package tar-2:1.23-11.el6.x86_64 is not installed
+ * Fedora 20 (rpm 4.11.2):
+ * $ rpm -q tar-2:1.26-30.fc20.x86_64
+ * tar-1.26-30.fc20.x86_64
*)
- let pkg_name =
- sprintf "%s-%s-%s" app.G.app2_name
- app.G.app2_version app.G.app2_release in
- let pkg_name =
- if app.G.app2_epoch > 0_l then (
- (* RHEL 3/4 'rpm' does not support using the epoch prefix.
- * (RHBZ#1170685).
- *)
- let is...
2019 Jan 30
1
[PATCH v3] v2v: linux: use NEVR for querying RPM packages (RHBZ#1669395)
...n
+ if PCRE.matches re_version ver then
+ (int_of_string (PCRE.sub 1), int_of_string (PCRE.sub 2))
+ else
+ (0, 0)
+ with Not_found ->
+ (* 'rpm' not installed? Hmm... *)
+ (0, 0) in
+ ver < (4, 11)
+ in
let pkg_name =
- sprintf "%s-%s-%s" app.G.app2_name
- app.G.app2_version app.G.app2_release in
- let pkg_name =
- if app.G.app2_epoch > 0_l then (
- (* RHEL 3/4 'rpm' does not support using the epoch prefix.
- * (RHBZ#1170685).
- *)
- let is...
2019 Jan 29
2
[PATCH] v2v: linux: use NEVR for querying RPM packages (RHBZ#1669395)
...| [major] -> int_of_string major, 0
+ | major :: minor :: _ -> int_of_string major, int_of_string minor
+ | _ -> error (f_"unrecognized RPM version: %s") ver in
+ let is_rpm_lt_4_11 =
+ rpm_major < 4 || (rpm_major = 4 && rpm_minor < 11) in
let pkg_name =
- sprintf "%s-%s-%s" app.G.app2_name
- app.G.app2_version app.G.app2_release in
- let pkg_name =
- if app.G.app2_epoch > 0_l then (
- (* RHEL 3/4 'rpm' does not support using the epoch prefix.
- * (RHBZ#1170685).
- *)
- let is...
2013 May 07
1
packages (binary) update best practice
...e package tools (pkg_add -r) to add few package to
the base install. Keeping in mind my server have disk space constrain
(small disk install) I would ask an opinion about the followings methods to
upgrade packages after a freebsd upgrade (in this case from 9.0 to 9.1):
1) perform
# pkg_delete <pkg_name>
and then
# pkg_add -r <pkg_name>
for each of them ? (I think about some package depends on other, this could
create some little problem);
2) perform
# pkg_add -F <pkg_name>
(not tried yet) and overwrite the already installed pkg ?
3) have a separate server on which create an upda...
2019 Jan 30
0
Re: [PATCH] v2v: linux: use NEVR for querying RPM packages (RHBZ#1669395)
...ub 2))
else
(0, 0) in
let is_rpm_lt_4_11 = ver < (4, 11) in
(We already have this sort of code in daemon/inspect_utils.ml, but we
can't reuse it).
Rich.
> + let is_rpm_lt_4_11 =
> + rpm_major < 4 || (rpm_major = 4 && rpm_minor < 11) in
> let pkg_name =
> - sprintf "%s-%s-%s" app.G.app2_name
> - app.G.app2_version app.G.app2_release in
> - let pkg_name =
> - if app.G.app2_epoch > 0_l then (
> - (* RHEL 3/4 'rpm' does not support using the epoch prefix.
> - * (RHBZ#1170685)...
2005 Jan 12
2
Change your default rpm query format on multi-lib archs (like x86_64)
All,
I am now building rpms on, and using a multi-lib arch (x86_64) for the
first time ... when using the standard command:
rpm -qa | grep pkg_name
The results might be pkg_name.i386 or pkg_name.x86_64 ... or both. But,
the way it is shown by the default query format, looks the same ... like
this:
pkg_name
pkg_name
----------------------------
example:
[root at x86-64 ~]# rpm -qa | grep popt
popt-1.9.1-21
popt-1.9.1-21
------------------...
2019 Jan 29
1
[PATCH] v2v: Fix kernel disambiguation by dropping Epoch field (RHBZ#1669395).
...@ let file_list_of_package (g : Guestfs.guestfs) inspect app =
| "rpm" ->
(* Since RPM allows multiple packages installed with the same
- * name, always check the full ENVR here (RHBZ#1161250).
+ * name, always check the full NVR here (RHBZ#1161250).
*)
let pkg_name =
sprintf "%s-%s-%s" app.G.app2_name
app.G.app2_version app.G.app2_release in
- let pkg_name =
- if app.G.app2_epoch > 0_l then (
- (* RHEL 3/4 'rpm' does not support using the epoch prefix.
- * (RHBZ#1170685).
- *)
- let is...
2015 Dec 02
4
[PATCH 0/3] supermin: add --include-packagelist
Hi,
to ease debugging issues with appliances (e.g. when used in libguestfs),
using --include-packagelist will add a file containing the list of all
the packages used.
Thanks,
Pino Toscano (3):
ext2: add ext2fs_chmod and ext2fs_chown
chroot: factor out file copy code
Add --include-packagelist
src/build.ml | 42 +++++++++++++++++++++++++------
src/chroot.ml | 29
2009 Jun 13
2
Rake migration error
Hi,
I am constantly getting an error when I use the rake command to do a
migration or even use drop, this happened after I installed some
plugins such as paperclip and seed-fu.
The error is:
rake aborted!
uninitialized constant PKG_NAME
/var/www/html/quote/Rakefile:10
The Rakefile looks like this:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically
be available to Rake.
require(File.join(File.dirname(__FILE__), ''config'', '...
2011 Jan 27
0
Problems installing gputools
...visible(structure(msg,
class = "try-error"))})
8: try({ ns <- loadNamespace(package, c(which.lib.loc, lib.loc),
keep.source = keep.source) dataPath <- file.path(which.lib.loc, package,
"data") env <- attachNamespace(ns, pos = pos, dataPath = dataPath, deps)})
9: library(pkg_name, lib.loc = lib, character.only = TRUE,
logical.return = TRUE)
10: withCallingHandlers(expr, packageStartupMessage = function(c)
invokeRestart("muffleMessage"))
11: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib,
character.only = TRUE, logical.return = TRUE))
12: doTryCatch...
2012 May 15
1
KEGGSOAP installation error
...(structure(msg, class = "try-error", condition = e))})
16: try({ ns <- loadNamespace(package, c(which.lib.loc, lib.loc))
dataPath <- file.path(which.lib.loc, package, "data") env <-
attachNamespace(ns, pos = pos, dataPath = dataPath, deps)})
17: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return =
TRUE)
18: withCallingHandlers(expr, packageStartupMessage = function(c)
invokeRestart("muffleMessage"))
19: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib,
character.only = TRUE, logical.return = TRUE))
20: doTryC...
2013 Jun 07
1
cannot load pbdMPI package after compilation
...UE)) {
cat(msg, file = stderr()) .Internal(printDeferredWarnings())
} invisible(structure(msg, class = "try-error", condition = e))})
13: try({ ns <- loadNamespace(package, c(which.lib.loc, lib.loc))
env <- attachNamespace(ns, pos = pos, deps)})
14: library(pkg_name, lib.loc = lib, character.only = TRUE,
logical.return = TRUE)
15: withCallingHandlers(expr, packageStartupMessage = function(c)
invokeRestart("muffleMessage"))
16: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib,
character.only = TRUE, logical.return = TRUE))
17: doTryC...
2007 May 17
1
CentOS 4.5 is released for i386, x86_64, and ia64
...using this
command will upgrade you to CentOS-4.5:
yum update
--------------------------------------------------------------------
Major changes for this version are:
* The up2date options "--undo" and "--list-rollbacks" are now
deprecated. You must use "yum remove <pkg_name>" or "rpm -e <pkg_name>"
to remove packages, or "rpm -Uvh --oldpackage --nosignature --nodigest
<pkg_name>" to revert to an older package.
* CentOS-4.5 contains a Xen kernel that is now supported as a
paravirtualized (PV) Guest, but it cannot be used as a d...
2007 May 17
1
CentOS 4.5 is released for i386, x86_64, and ia64
...using this
command will upgrade you to CentOS-4.5:
yum update
--------------------------------------------------------------------
Major changes for this version are:
* The up2date options "--undo" and "--list-rollbacks" are now
deprecated. You must use "yum remove <pkg_name>" or "rpm -e <pkg_name>"
to remove packages, or "rpm -Uvh --oldpackage --nosignature --nodigest
<pkg_name>" to revert to an older package.
* CentOS-4.5 contains a Xen kernel that is now supported as a
paravirtualized (PV) Guest, but it cannot be used as a d...
2012 Feb 06
1
Segfault on ".C" registration via R_CMethodDef according to 'Writing R Extensions'.
...(structure(msg, class = "try-error", condition = e))})
8: try({ ns <- loadNamespace(package, c(which.lib.loc, lib.loc)) dataPath <- file.path(which.lib.loc, package, "data") env <- attachNamespace(ns, pos = pos, dataPath = dataPath, deps)})
9: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)
10: withCallingHandlers(expr, packageStartupMessage = function(c) invokeRestart("muffleMessage"))
11: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE))
12: doTryC...
2018 Feb 02
2
Updating Rcpp package when it is claimed by dplyr
When i tried to install the hunspell package, I got this error message:
Error: package ?Rcpp? 0.12.3 was found, but >= 0.12.12 is required by ?hunspell?
So I set about installing a new version of Rcpp but I get this message:
Error in unloadNamespace(pkg_name) :
namespace ?Rcpp? is imported by ?dplyr? so cannot be unloaded
How does one get around that? I tried installing Rcpp in a vanilla
session but the result was the same.
TIA
Patrick
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 1...
2004 Jan 28
1
build fails to build help for nlme
...text html latex example
/home/sfalcon/sw/R-related/R-1.8.1/bin/INSTALL: line 1: 8133 Segmentation fault ${R_CMD} perl "${R_HOME}/share/perl/build-help.pl" ${build_help_opts} "${pkg_dir}" "${lib}" "${R_PACKAGE_DIR}" "${pkg_name}"
ERROR: building help failed for package 'nlme'
** Removing '/home/sfalcon/sw/R-related/R-1.8.1/library/nlme'
make[2]: *** [nlme.ts] Error 1
make[2]: Leaving directory
`/home/sfalcon/sw/R-related/R-1.8.1/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2...
2007 Dec 03
0
autogen.sh
...thor: Benjamin Otte <otte at gnome.org>
Date: Mon Dec 3 16:45:40 2007 +0100
fix name of project
diff --git a/autogen.sh b/autogen.sh
index 04e60a1..39a9359 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME="swfdec-thumbnailer"
+PKG_NAME="swfdec-gnome"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
2008 Jun 28
3
chkconfig update fails
My update to 5.2 fails on one machine because of this error:
Transaction Check Error:
file /etc/init.d from install of chkconfig-1.3.30.1-2 conflicts with
file from package AcronisAgentLinux-9.5.8076-1
file /etc/init.d from install of chkconfig-1.3.30.1-2 conflicts with
file from package TrueImageAgent-9.5.8076-1
Obviously, both packages created (completely unnecessarily) the
/etc/init.d
2010 Nov 09
1
R-2.12.0 problem on Solaris 10
...;& identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error"))})
29: try(.install_package_indices(".", instdir))
30: do_install_source(pkg_name, instdir, pkg, desc)
31: do_install(pkg)
32: tools:::.install_packages()
aborting ...
Segmentation Fault - core dumped
The downloaded packages are in
'/tmp/RtmpVwIBsr/downloaded_packages'
Updating HTML index of packages in '.Library'
Warning message:
In install.packages(&qu...