Displaying 20 results from an estimated 100 matches similar to: "[PATCH 0/4] supermin: use dnf on Mageia"
2014 Nov 24
5
[PATCH] rpm: use librpm's rpmvercmp
Bind and use rpmvercmp to compare versions of packages when sorting
them, instead of an own string-based comparison function.
---
src/librpm-c.c | 12 ++++++++++++
src/librpm.ml | 1 +
src/librpm.mli | 1 +
src/rpm.ml | 2 +-
4 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/librpm-c.c b/src/librpm-c.c
index 1ae3bad..fc847d6 100644
--- a/src/librpm-c.c
+++
2016 Oct 31
0
[PATCH 4/4] rpm: mageia: prefer dnf over urpmi
Mageia introduced dnf as alternative package manager for the next
version 6, with the possibility to replace urpmi as primary in the
future.
As such, prefer dnf over urpmi+fakeroot to download rpm packages.
Thanks to Neal Gompa for his heads-up.
---
README | 3 +--
src/rpm.ml | 8 +++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 79fcfd8..679bf70
2014 Nov 24
0
[PATCH] rpm: isolate the "packages as NA RPM list" code
Just code motion, no functional change.
---
src/rpm.ml | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/src/rpm.ml b/src/rpm.ml
index ce803e1..771022e 100644
--- a/src/rpm.ml
+++ b/src/rpm.ml
@@ -288,11 +288,7 @@ let rec fedora_download_all_packages pkgs dir =
* Use name.arch so it can download any version but only the specific
*
2011 Sep 23
1
should dir(all=TRUE) return "." and ".."?
dir(all=TRUE) returns the file names "." and ".."
while dir(recursive=TRUE, all=TRUE, include.dirs=TRUE)
does not. I always filter out the "." and ".." entries
and was wondering if anyone would mind if dir(all=TRUE)
just omitted them? It might make recursive file operations
like cleaning out a directory safer, as
unlink(recursive=TRUE, dir(all=TRUE,
2019 Feb 14
1
Proposed function file.backup
Dear R Core:
In the kutils package, I wrote a function that is so handy that I would
like to ask you put it in R itself.
file.backup() will look at a file, find its last modification time, and
create a new backup with a name that appends YYYYMMDD-HHMM to the file
name. So now, whenever I worry that running write.csv or saving a graph
might destroy something valuable, I use an idiom like
fn
2003 Dec 20
1
rsync "hang"
Hello rsync list,
I am running a Solaris 8 system and have rsync 1.6.2 protocal 14 installed.
We have updated (wed 17-dec) to the latest Solaris 8 recommended patch set.
When performing an rsync of two local UFS partitions rsync "hung", never
completed, didn't exit. What I forced an exit via kill signal core dumped.
Config of disks is that 1) Mirror by Solistice Disksuite rsync to
2011 Jul 13
4
use of MAILTO variable in crontab
I want to do something like this:
30 2 * * * MAILTO=testaddr at harte-lyne.ca; echo "this should be mailed"
I have searched extensively and from what I have read I believe that
this should work. But evidently I misapprehend how cron and MAILTO
is supposed to work as my example does not cause any mail to be sent
as far as I can determine from maillog.
How does one specify unique
2013 Oct 11
9
[PATCH OSSTEST 0/6] Support for serial logs from marilith boxes
The marilith boxes use a conserver (http://www.conserver.com/) setup for
serial access. Our installation exports the logs via http allowing us to
grab them with wget.
Sending debug keys with is handled separately via xenuse. xenuse
ultimately speaks to the conserver too but it abstracts away the IP and
port to use so this is preferred.
With these changes the correct Serial hostprop for a
2009 Aug 24
1
unix like commands in R?
Dear List:
I am trying to find a command in R which is like the unix command "less" or
"more" to show the data in a object of R.
did anyone can help me on this?
Is there a collection of such unix-like commands in R?
Thanks.
-ZRL
[[alternative HTML version deleted]]
2022 Oct 29
1
tools:: extracting pkg dependencies from DCF
Thank you Gabriel,
Just for future readers. Below is a base R way to address this common
problem, as instructed by you (+stopifnot to suppress print).
Rscript -e 'stopifnot(file.copy("DESCRIPTION",
file.path(tdir<-tempdir(), "PACKAGES")));
db<-available.packages(paste0("file://", tdir));
2002 Jun 18
3
FINDNEXT problem, w2k and linux smbfs
I have inconsistent directory listing on share mounted on linux from windows 2k.
Some time not all files appear in the directory listing.
If reading directory listing multiple times (60-200 times) files listed originally would have one or two files missing in one of consecutive lists. The same problem appear as well if you are making backup of Windows files from multiple directories, there are
2005 Oct 14
2
Fortran?
In a package, i type a function name and got the following message:
...
tmp <- .Fortran("master", x = as.double(x), y = as.double(y),
sort = as.logical(sort), rw = as.double(rw), npd = as.integer(npd),
ntot = as.integer(ntot), nadj = integer(tadj), madj = as.integer(madj),
ind = integer(npd), tx = double(npd), ty = double(npd),
2006 Jan 09
6
R newbie example code question
Sometimes I print out a package
and read about it and there
are sometimes nice examples
that I would like to run myself.
Is there a way to bring them
into R from the package or
are they only meant to be typed
in manually ? If manual is the
only way, that's fine. I was
just checking whether there was
a quicker way. Thanks.
Mark
2014 Nov 24
0
[PATCH] rpm: improve dnf invocation
Handle debug level and packager config.
---
src/rpm.ml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/rpm.ml b/src/rpm.ml
index 771022e..46954c8 100644
--- a/src/rpm.ml
+++ b/src/rpm.ml
@@ -308,8 +308,14 @@ let rec fedora_download_all_packages pkgs dir =
let rpms = pkgs_as_NA_rpms pkgs in
let cmd =
- sprintf "%s download --destdir %s
2004 Feb 06
4
more or less pager
R-users,
(forgive my return adres)
I've been breaking my head why R---which i find fabulous, by the
way---does not pipe interactive output through a pager (more or less),
like it does with help(), or like GNU Octave does with arrays with more
than terminal height rows.
Maybe it is my installation (Debian/GNU Linux). Maybe it is my
configuration, but i don't think so because with
2010 May 24
2
excluding on element from a list
Dear List,
I am making a list of all the files in a folder and I want to exclude
one file called "proj.current". This is the 31st file in a folder.
Currently I use the command:
tdirs <- list.files(pattern="proj.")[-31]
However I would like to exclude it based on its name and not the position.
Any advice would be useful.
Thanks,
Daisy
Daisy Englert Duursma
Room
2009 Dec 16
1
WinBUGS - R2WinBUGS problem
Appologies for cross-posting
Dear R users,
I am using R2WinBUGS to call WinBUGS from R. After loading data, model, and initial values I call this command
res <- bugs(data = dfile, inits = list(ifile), parameters.to.save = c("beta"), model.file = mfile, working.directory = tdir, n.thin = nthin, n.chains = 1, n.iter = niterations*nthin, n.burnin = 0, DIC = F, debug = T,
2016 May 25
0
odd warning unlinking symlink on Windows
While constructing some tests of symbolic link code in R, I got
an odd warning when trying the remove a symbolic link:
file.create(tfile <- tempfile())
#[1] TRUE
file.symlink(tfile, tlink <- tempfile())
#[1] TRUE
unlink(tlink)
#Warning message:
#In unlink(tlink) :
# cannot delete reparse point
'C:\Users\wdunlap\AppData\Local\Temp\Rtmp0oB1gl\fileedc792515a3', reason
'There is a
2018 Jul 06
0
NEWS vs. inst/NEWS
'Writing R Extensions', section 1.1.5, in the part about a package's 'inst'
directory, says that if NEW is in both the top level and in the inst
directory, the in inst will be installed:
Note that with the exceptions of INDEX, LICENSE/LICENCE and NEWS,
information files at the top level of the package will *not* be installed
and so not be known to users of Windows and macOS
2004 Mar 02
2
Some timings for 64 bit Opteron (ATLAS, GOTO, std)
Hi Martin,
When I attended the LinuxWorld Expo in NYC back in January, I chatted with
some folks at the AMD booth, as well as guys from Penguin Computing (where
we bought our Opteron box). I was told that the Operton has this somewhat
strange setup that the memory is controlled by one CPU. The net effect of
this being that when both CPUs are running, one might only be running at
around 90%