OpenSUSE :: What's The Zypper Command To Rename A Repository Name
Oct 16, 2010What's the zypper command to rename a repository name? Not yast.
View 6 RepliesWhat's the zypper command to rename a repository name? Not yast.
View 6 RepliesWhen I do "sudo zypper up" than it gives me error like this:
Code:
Retrieving repository 'openSUSE-11.4-Non-Oss' metadata []
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/distribution/11.4/repo/non-oss/'
Abort, retry, ignore? [a/r/i/?] (a):
But I can access Index of /distribution/11.4/repo/non-oss from firefox browser.(This is old problem from Opensuse version 11.0 when I first tested it.)
See screenshot here:
When I attempt to refresh my zypper repositories, I get messages like:
Repository 'gwdg_suse11.1' is invalid.
File /var/tmp/TmpFile.vRNflE doesn't contain public key data
I've asked for help (which has been freely given) on these forums before, but nothing has worked, and I've been stuck with this error for many months now. In effect, my system is effectively non-upgradable.
However, I would like to upgrade to 11.2. Is there an upgrade CD, or should I just download the 11.2 DVD (at nearly 5GB) and choose the "upgrade" option from it?
I'm considering making a switch from Ubuntu/Linux Mint to Fedora 15 because I just adore, love, cannot be without Gnome Shell any longer. SELinux - I actually am finding I hate this program as it blocks certain plugins (like Java), some programs I run it blocks functionality, etc. What's the best way to disable it or make it more like Ubuntu where it's pretty much permissive of everything. Common Apps I use - I haven't checked the repos, but at the least I use the following (some I know work, but I can't remember the specific ones I want to know if I need to compile or if it's in the repos)
a - Snes9x
b - PCSX Reloaded
c - KeepNote
d - libdvdcss2 and libdvdread4
e - MP4, MP3, AVI, MPEG, OGG, OGV codecs (I think I've converted any others like WMA and WMV... wait I have a few WMA files, crap)
f - Flash 64-bit - this one I have issues with SELinux wise, (reason for first question)
g - VirtualBox - it runs so much faster under Fedora so I know this one works
h - Sun Java
RPMs - Fedora uses RPMs right? Is there like an DEB Alien to convert DEBs to RPMs? Apache2 - Now maybe I found this as httpd or lightppd or something, but why isn't it listed as Apache2 in the repos? I'm more or less guessing that Fedora is not a "rolling" release, is there a variant or version that is or a repo I can enable? A software center, other than Synaptic; I'm pampered when it comes to Ubuntu Software Center and that, is there anything like that in Fedora that isn't Synaptic? What's the terminal command for installing packages, is it zypper or is that OpenSuSE?
I misused wildcards like a moron, in the rename command. I repeated names twice in a 3gig folder, which I cannot afford to delete. Now, the rename command is not working, and it says the file name is too long. I am a competent programmer in Java, PHP, and I know basic C.
View 7 Replies View RelatedI need to execute zypper command to install the kde desktop? I also added the kde repo or officers would suffice?
View 4 Replies View RelatedWhat is the ssh commands to rename a group of files?
I need to rename:
avatar_01.jpg
avatar_02.jpg
[code]....
In a moment of madness I decided to reorganise my mp3 player. I am putting everything into one folder (called 'all'), but first I am renaming the files to the following format:
artist ## songtitle
where ## is a number like 01, 02. This has been pretty straightforward with the songs that already started with a number, because then I could just
rename 's/(dd)/artist $1/' *.mp3
but I have a problem with those tracks that don't already have the track-numbers at the beginning. I suppose what I am asking is: can I turn
All Along the Watchtower.mp3
Purple Haze.mp3
Hey Joe.mp3
into
01 All Along the Watchtower.mp3
02 Purple Haze.mp3
03 Hey Joe.mp3
I'm trying to clean up some files and I've been using the rename command as its the easiest way I've found to do it. One problem I've found is that on a couple of batches of files they have a set random numbers on them which I need to remove.
Only problem is I can't find a way for rename to "lock" onto those numbers to remove them. The file name structure is something like this:
file name[random numbers].extension
There are brackets around the numbers as well which I'm not sure will help or not.
I am using hte rename command to clean up a bunch of files. I know you should be able to use regex with the rename command, but it seems to ignore them.Most of the time I am using something like:rename 'something' 'some' *Now lets say I have files named:
someFile(2009).ext
otherFile(2008).ext
File(2006).ext
[code]...
I have a bunch of mislabeled files among other things but I'll start with this first. as using the command line to fix this issue.
View 5 Replies View RelatedSuppose I have the following files:
1132_1_fr.mp3
1132_2_fr.mp3
1132_3_fr.mp3
.
.
.
1132_3_fr.mp3
[Code].....
So I want to add PD_ to those who dont have this preindex and get rid of _fr.
basically rename files in a same directory!!
I'm trying to rename all files in a folder as such:
1.jpg
2.jpg
3.jpg
Renaming them is no problem, the problem I have is, they need to be in order of the datetime that they were taken, so that the 1.jpg would be the oldest file there. The difference in filetimes is going to be very small, around 3 or 4 tenths of a second.
The reason I need to do this is that I have another script (not quite finished yet), that takes the next three files in a loop and applies qtpfsgui to them to output an HDR image to another folder, then move on to 4,5 & 6, and: repeat.
I don't know why but sometimes zypper (v1.4.5) removes some of the installed packages before upgrading them.
Actually it removes it even before downloading a newer version. I just wonder what a stupid f**k implemented this behavior. I wish something awful happens to him.
An hour ago I tried to update few packages, among those were sysconfig, firefox and yast. Guess what? Zypper removed those before downloading newer versions. Due to a temporary network connection loss zypper could not download packages and quit leaving me without firefox, without yast and, what's even worse, without sysconfig package which contains essential system scripts such as ifup, ifdown etc (so my network went down completely without a possibility to restore). It's a big luck there was no new package of rpm (or it would be removed by zypper too) so I could just download those packages with my second PC and reinstall them from a memory stick.
Now I'm interested where should I file this bug, because without a doubt it's a critical one.
OpenSuse 11.2 AMD64
My question - how can I use Zypper to do the job of PackageKit ? That is, install security and recommended updates. If possible, I would like to then remove PackageKit. Do you see any problems ?
Yesterday I performed a zypper up on my system. Stock KDE4 that comes with 11.3. After I restarted the computer, it would get about 4/5 the way through the progress bar that displays when first starting then lock up hard. Starting in safe mode works. With a little experimenting I found that typing x11failsafe to the boot up options line let me start without a problem also.
The sleazy workaround would be to add that parameter to the grub menu, but I'd rather have a real fix. Has anyone else seen this issue? Is there a fix for it?
[Code]....
updating via Zypper. Recently I decided to do all the system updates via Zypper, because I trust Zypper more than the other update mechanisms. since 2 days I always get the following message in the terminal, when I do
Code:
zypper up
Code:
The following package updates will NOT be installed:
gstreamer-0_10-plugins-base kcm_gtk kdebase4-openSUSE
kdebase4-runtime-branding-openSUSE kdebase4-workspace-branding-openSUSE
kdelibs4-branding-openSUSE kdm-branding-openSUSE kio_sysinfo
[code]....
the packages mentioned in there are always the same, but I am more concerned about this message in general. In Ubuntu (which I used before) and in Debian, such a message meant, that you have to install some additional packages to resolve dependencies.
Code:
apt-get dist-upgrade
with this command the system installed the required additional packages and afterwards the packages which were listed as "will not be installed" so does this message in Zypper mean the same? Can I also do something like a "dist-upgrade" in OpenSuse, without bringing the whole system to (for example) 11.4, but to get all the updates including some new dependencies?
I'm upgrading from 11.2 RC1 to the final release.
I searched here, but didn't find much in the way of tutorials. This page was the best I found: Upgrade openSUSE
That page indicates that I only need to run
Code:
zypper dup
Very simple, but is it complete?
Thinking it is not that simple, I put together my own list of steps and I'd like some feedback on whether all this is necessary. In particular, is it necessary to run zypper dup outside X? Are my steps too complex?
sudo -s
zypper lr --export backups/repos/foo.repo
zypper ref
zypper in zypper libzypp (nothing to do)
[Code].....
I solved that by going into yast and disabling the CD-based repository. How do you do this in zypper when the error message doesn't tell you the name of the offending repository? That error could be very confusing to someone who didn't realize that a CD-based repository would be responsible for this.
I want to rename some files in one directory and found the command 'rename' most appropriate.
Changing the file extension is easy since there are lot of examples for this.
But now I want to rename my files like this:
'somePrefix_blablabla.ext' --> '0_blablabla.ext'
'somePrefix_blablablablabla.ext' --> '0_blablablablabla.ext'
I DON'T want an incrementation, just the leading prefix '0_'
correct perl expression syntax for this?
I added Index of /repositories/KDE:/Backports/openSUSE_11.2 The opensuse.org says: If you just want the latest versions of e.g. amarok, digikam etc. you don't need to upgrade all of KDE, just add the Backports repo maintained by the openSUSE KDE Team. I want to update the Amarok to the new version (2.3) with zypper but I cant.
[Code]...
the zypper calling aria2c download the file, but the speed is too slow, so, I want to use proxy.the aria2 is supported to use proxy ,but I cannot find where is the config file. I want to know how the zypper pass the parameter such as file name file target and anthor option when aria2 is calling by zypper
View 9 Replies View RelatedI just got my repos back on the track. I looked for the eclipse platform in 'Yast->software management', still like 8 choiches to make. Can I use zypper again to install 'Eclipse'?
View 4 Replies View RelatedWhile trying to update my kernel as written here, "zypper up" hanged at retrieval.
The first row is where it hanged:
Code:
Retrieving: libpng12-0-32bit-1.2.39-2.2_2.3.1.x86_64.delta.rpm [error (0 B/s)]
Download interrupted by user
Abort, retry, ignore? [a/r/i/?] (a):
[Code].....
Turned on my PC as soon as I got home & found that Factory repo had a whole bunch of updates, so I selected to 'switch system packages' & clicked accept.
Whatever I tried to download & install displays an error message
Have even deleted the factory repo & re-added, to ensure it wasn't a change of url causing problems.
I'm running 11.2 64bit KDE 4.4.3
I installed R using zypper some time back, but then I read that I should have used a specific repository called Rpatched. So (note order) I added the repository, then remove R (called R-base) and then proceeded to install the package. Clearly in my repository list there is more than one source of R. Should I have removed the package first and then add the new repository? How in fact does zypper deal with different repositories when they all have the same package? I expect it might choose the most recent version. But what happens when the packages are patched? How does it determine the best version of the package to use?
View 1 Replies View RelatedWhen would the zypper service be dead for openSUSE 11.2?
View 2 Replies View RelatedI added ettercap repo Index of /repositories/home:/bastianfriedrich/openSUSE_11.3 and I want to install 32-bit ettercap. But these commands fail:
Code:
# zypper install "ettercap-ng.i586"
# zypper install ettercap-ng.i586
# zypper install "ettercap-0.7.3-9.1.i586"
# zypper install "ettercap.i586=0.7.3-9.1"
Is it possible to add repositories from NFSv4 to zypper? I have initiated automatic mounting network resources on NFSv4 and it works fine, but after adding repository from NFSv4 to zypper, I have problem on refreshing repository data:
Code:
omega:/distrib/repositories/1 # zypper refresh repo-update-1
Retrieving repository 'repo-update-1' metadata []
[code]....
On my openSuSE 11.4 with GNome, zypper throws lots of errors when used on the command line.However, zypper does it's work correctly, but the error messages are annoying.Does anybody know what the problem is ?The error messages:
Code:
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error ==
[code]....
I was curios about why zypper up don't update some packages as in code...
View 2 Replies View Related