What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

General support questions
Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/06 17:58:33

In order to easily batch resize pictures with a button click, I recently installed [url=Re: CentOS GUI for resizing JPEG files to smaller (similar to nautilus-image-converter)?]nautilus image converter[/url].
[code]
su root
yum upate
yum clean all
yum --enablerepo epel
yum search all nautilus-image-converter <== look for "Matched: nautilus-image-converter"
yum install nautilus-image-converter
rpm -qi nautilus-image-converter
[/code]

Today, in order to intelligently rotate pictures based on EXIF tags, I installed jhead:
[code]yum install jhead
rpm -qi jhead[/code]

But, unfortunately, exiftran didn't install:
[code]
sudo yum install exiftran
[sudo] password for rock:
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.versaweb.com
* epel: ftp.osuosl.org
* extras: mirrors.usc.edu
* rpmforge: mirror.teljet.net
* updates: mirrors.usc.edu
Setting up Install Process
No package exiftran available.[/code]

So, I'll try to follow the process again to find how best to install exiftran.
[code]
$ yum search all exiftran
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 11 kB 00:00
* base: mirror.5ninesolutions.com
* epel: ftp.osuosl.org
* extras: centos.fastsoft.net
* rpmforge: mirror.cpsc.ucalgary.ca
* updates: mirrors.usc.edu
base | 3.7 kB 00:00
epel | 4.0 kB 00:00
epel/primary_db | 4.4 MB 00:29
extras | 3.5 kB 00:00
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.5 MB 00:19
updates | 3.5 kB 00:00
updates/primary_db | 3.0 MB 00:19
Warning: No matches found for: exiftran
No Matches found
[/code]

Drat. I was hoping that would find "exiftran".
A quick look in http://pkgs.repoforge.org didn't find exiftran either.
So it's on to the next step.

EDIT: Weird. I'm not sure if there is any logical science involved here, but I just googled for "exiftran install centos" and I find it's inside 'fbida' (whatever that is). The weird thing is that NONE of the previously suggested search methods told me that. Why not? I don't know. Anyway, once I magically am aware that exiftran is inside of 'fbida', I can then start all over:
[code]
yum search all fbida
...
================================ Matched: fbida ================================
fbida.x86_64 : FrameBuffer Imageviewer
fbida-fbgs.x86_64 : Framebuffer Postscript Viewer
...
sudo yum install fbida
rpm -qi fbida
rpm -qi exiftran

REPORTS:
[rock@sock ~]$ rpm -qi fbida
Name : fbida Relocations: (not relocatable)
Version : 2.07 Vendor: Fedora Project
Release : 8.el6 Build Date: Fri 25 Nov 2011 01:42:49 AM MST
Install Date: Sun 06 May 2012 11:17:18 AM MST Build Host: x86-01.phx2.fedoraproject.org
Group : Applications/Multimedia Source RPM: fbida-2.07-8.el6.src.rpm
Size : 173001 License: GPLv2+
Signature : RSA/8, Fri 25 Nov 2011 04:51:27 AM MST, Key ID 3b49df2a0608b895
Packager : Fedora Project
URL : http://linux.bytesex.org/fbida/
Summary : FrameBuffer Imageviewer
Description :
fbi displays the specified file(s) on the linux console using the
framebuffer device. PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp and png
are supported directly. For other formats fbi tries to use
ImageMagick's convert.
[rock@sock ~]$ rpm -qi exiftran
package exiftran is not installed
[rock@sock ~]$ which exiftran
/usr/bin/exiftran[/code]

Even though the search procedure is somewhat non-intuitive and illogical, it's working ... so a working process is all that matters.
[code]
[rock@sock ~]$ exiftran -ai *.jpg
[rock@sock ~]$ jhead -autorot *.jpg
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by pschaff » 2012/05/07 21:46:18

[code]# yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/exiftran"
fbida-2.07-8.el6.x86_64 : FrameBuffer Imageviewer
Repo : epel
Matched from:
Filename : /usr/bin/exiftran
[/code]

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/08 04:22:54

[quote]
pschaff wrote:
[code]# yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/exiftran"
[/code][/quote]

Hi Phil,

Yet again, you come through. I had thought it hokey that I had to exit the CentOS searches and look on the net to figure out that exiftran was inside of the "fbida" package.
Adding your command to the repetoire allows us to stay within CentOS' yum to find the recommended program to install in order to gain exiftran.

[code]
$ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/exiftran"
... stuff deleted ...
fbida-2.07-8.el6.x86_64 : FrameBuffer Imageviewer
Repo : epel
Matched from:
Filename : /usr/bin/exiftran
fbida-2.07-8.el6.x86_64 : FrameBuffer Imageviewer
Repo : installed
Matched from:
Filename : /usr/bin/exiftran
[/code]

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/16 08:29:35

These steps above apparently failed me when trying to test for the [url=http://www.kb.cert.org/vuls/id/723755]WiFi Protected Setup (WPS) PIN brute force vulnerability[/url] so I had to follow the [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37344&forum=58&post_id=162980#forumpost162980]following steps[/url]:

[code]
$ sudo yum install gcc-c++ openssl-devel
$ svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng
$ cd aircrack-ng
$ su root
# make
# make install
# exit
[/code]

Another way to install aircrack-ng would be to [url=http://dag.wieers.com/rpm/packages/aircrack-ng/]look up the latest version here[/url] and then run:
[code]
$ su
# rpm -ihv http://dag.wieers.com/rpm/packages/aircrack-ng/aircrack-ng-0.9.1-1.el5.rf.ppc.rpm
[/code]

See also [url=http://www.aircrack-ng.org/doku.php?id=downloads]Redhat / Fedora RPM Packages[/url]:
1. [url=https://admin.fedoraproject.org/pkgdb/packages/name/aircrack-ng]Fedora RPM[/url]
2. [url=http://dag.wieers.com/packages/aircrack-ng/]Dag Wieers Yum RPM repository[/url] (Current version: 0.9.3)
3. [url=http://dries.studentenweb.org/rpm/packages/aircrack-ng/info.html]Dries RPM Repository[/url] (Current version: 0.9.1)

Additional useful programs to install in order to test your Wi-Fi setup would be:
1. [url=http://www.kismetwireless.net/]Kismet[/url] (yum install kismet -y ==> ok base)
2. [url=http://www.secdev.org/projects/scapy/]Scapy[/url] (yum install scapy -y ==> ok base)
3. [url=http://code.google.com/p/reaver-wps/downloads/list]Reaver[/url] (yum fails)
4. [url=http://www.maxi-pedia.com/download+macchanger]MacChanger[/url] (yum fails)

This is how I installed Reaver just now (please improve the process if it's wrong):
[code]
Download the latest version from http://code.google.com/p/reaver-wps/downloads/list)
$ gunzip reaver-1.4.tar.gz
$ tar -xvf reaver-1.4.tar
$ cd reaver-1.4/src
$ ./configure ==> error pcap not found (found in libpcap)
$ su root
# yum install libpcap-devel ==> OK base
# yum install sqlite-devel ==> OK base
# cd reaver-1.4/src
# ./configure
# make
# make install
# exit
$ which reaver --> /usr/local/bin/reaver
[/code]

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/16 09:46:50

Unfortunately, these suggestions didn't work for [url=http://www.maxi-pedia.com/download+macchanger]macchanger[/url]:
[code]
# yum list *macchanger*
# yum search all macchanger
# yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/macchanger"
# alias yumlist='yum --noplugins --showduplicates --enablerepo \* --disablerepo \*-source --disablerepo c6-media,\*debug\*,\*-source list'
# yumlist macchanger
# alias yumsearch='yum --noplugins --showduplicates --enablerepo \* --disablerepo \*-source --disablerepo c6-media,\*debug\*,\*-source search'
# yumsearch macchanger
# rpm -qa --qf '%{NAME} %{VENDOR}\n' | grep -v CentOS | grep -i macchanger
[/code]

A quick look in [url=http://pkgs.repoforge.org]rpmforge[/url] didn't find "macchanger"; nor did a search in [url=http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/letter_m.group.html]epel[/url].

I can find macchanger RPMs here:
http://pkgs.org/fedora-17/fedora-x86_64/macchanger-1.5.0-11.fc17.x86_64.rpm.html#download

But I'm not sure 'how' to install them properly.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by pschaff » 2012/05/16 11:39:00

[quote]
Rocksockdoc wrote:
These steps above apparently failed me when trying to test for the [url=http://www.kb.cert.org/vuls/id/723755]WiFi Protected Setup (WPS) PIN brute force vulnerability[/url] so I had to follow the [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37344&forum=58&post_id=162980#forumpost162980]following steps[/url]:

[code]
$ sudo yum install gcc-c++ openssl-devel
$ svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng
$ cd aircrack-ng
$ su root
# make
# make install
# exit
[/code][/quote]
Bad idea. Please review [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous, so at least you only installed rather than building as root.

[quote]
Unfortunately, these suggestions didn't work for [url=http://www.maxi-pedia.com/download+macchanger]macchanger[/url][/quote]
If not found in a known repo then find a SRPM and follow [url=http://wiki.centos.org/HowTos/RebuildSRPM]How to Rebuild a Source RPM[/url]. I usually start with Fedora 14, which has [url=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/macchanger-1.5.0-8.fc12.src.rpm]macchanger-1.5.0-8.fc12.src.rpm[/url], as experience has shown those are often the latest SRPMs to build on EL6. If it fails fall back to an earlier Fedora release. It it succeeds and you really want the latest possible then try a later one up to [url=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/]rawhide[/url]. If in doubt about how to proceed start a new thread on the rebuild issues, giving details of what you have tried.

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/21 15:09:33

In all my tests and trials, I must have screwed up YUM somehow.
Now, whenever I try to install anything, I get an error like that below:

[b][color=990000]Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again[/color][/b]

[code]
[rock@sock Desktop]$ sudo yum install firefox
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 11 kB 00:00
* base: mirror.nwresd.org
* c6-media:
* epel: mirrors.servercentral.net
* extras: centos.mirror.freedomvoice.com
* rpmforge: repoforge.eecs.wsu.edu
* updates: mirror.serversurgeon.com
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
[rock@sock Desktop]$
[/code]

This happens no matter what I try to install now:
[code]
[rock@sock Desktop]$ sudo yum install sunbird
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 11 kB 00:00
* base: mirror.nwresd.org
* c6-media:
* epel: mirrors.servercentral.net
* extras: centos.mirror.freedomvoice.com
* rpmforge: repoforge.eecs.wsu.edu
* updates: centos-mirror.jchost.net
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
[rock@sock Desktop]$ [/code]

What's the test to see if my repositories are set up correctly?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

What is the search engine that says which repository has {ko

Post by gerald_clark » 2012/05/21 15:15:06

You have c6-media enabled but do not have the DVD mounted.
Edit /etc/yum.repos.d/centos-media.repo and change the enabled=1 to enabled=0.

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/21 15:40:27

[quote]
gerald_clark wrote:
You have c6-media enabled but do not have the DVD mounted.
Edit /etc/yum.repos.d/centos-media.repo and change the enabled=1 to enabled=0.[/quote]

Interesting. Thanks for the advice. I'm surprised you found the problem so quickly.
I had never edited that file (to my knowledge); but here's a time/date stamp:
[code]
[rock@sock yum.repos.d]$ pwd
/etc/yum.repos.d
[rock@sock yum.repos.d]$ ls -ltr
total 40
-rw-r--r--. 1 root root 1113 Nov 12 2010 rpmforge.repo
-rw-r--r--. 1 root root 728 Nov 12 2010 mirrors-rpmforge-testing
-rw-r--r--. 1 root root 717 Nov 12 2010 mirrors-rpmforge-extras
-rw-r--r--. 1 root root 739 Nov 12 2010 mirrors-rpmforge
-rw-r--r--. 1 root root 183 Apr 1 2011 adobe-linux-x86_64.repo
-rw-r--r--. 1 root root 637 Dec 8 20:05 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 1926 Dec 8 20:05 CentOS-Base.repo
-rw-r--r--. 1 root root 1056 Apr 19 22:16 epel-testing.repo
-rw-r--r--. 1 root root 957 Apr 19 22:16 epel.repo
-rw-r--r--. 1 root root 626 May 16 03:13 CentOS-Media.repo
[rock@sock yum.repos.d]$[/code]

So, on May 16th (which is about when it broke), I must have somehow managed to edit the CentOS-Media.repo file.
It was edited perhaps when I was using the --enablerepo and --disablerepo commands suggested higher up in this thread.
Probably I didn't disable something when I enabled it (or vice versa). I'm not sure what I did when I was looking for RPMs.

Thanks again!
I don't know how you knew it - but that was it (even though I don't remember ever touching that file)!


Anyway, you were right on the money!

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}

Post by Rocksockdoc » 2012/05/23 23:37:16

All of a sudden, my 1Terabyte Passport USB drive stopped mounting.

When I tried re-running the command that had auto-mounted the drive in the first place, I get an error:
[code]
[rock@sock Doc]# yum install fuse fuse-ntfs-3g ntfsprogs ntfsprogs-gnomevfs

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.serversurgeon.com
* epel: mirrors.servercentral.net
* extras: mirrors.usc.edu
* rpmforge: repoforge.eecs.wsu.edu
* updates: mirror.serversurgeon.com
Setting up Install Process
Package fuse-2.8.3-4.el6.x86_64 already installed and latest version
Package 2:ntfsprogs-2011.4.12-5.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package fuse-ntfs-3g.x86_64 0:2010.10.2-1.el6.rf will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Installing:
fuse-ntfs-3g x86_64 2010.10.2-1.el6.rf rpmforge 627 k

Transaction Summary
============================================================================================================================================================================================================
Install 1 Package(s)

Total size: 627 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
file /sbin/mount.lowntfs-3g from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /sbin/mount.ntfs from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /sbin/mount.ntfs-3g from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfs-3g from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfsmount from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.probe.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.secaudit.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.usermap.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfsprogs-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.probe.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfsprogs-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.secaudit.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfsprogs-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.usermap.8.gz from install of fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64 conflicts with file from package ntfsprogs-2:2011.4.12-5.el6.x86_64

Error Summary
-------------

[rock@sock Doc]#
[/code]

Any idea why there should be any conflict?

Post Reply