Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 427055

Summary: Bad shell command in sample code
Product: [Retired] Fedora Documentation Reporter: Stef Van Vlierberghe <stef.van-vlierberghe>
Component: release-notesAssignee: Paul W. Frields <stickster>
Status: CLOSED RAWHIDE QA Contact: Karsten Wade <kwade>
Severity: low Docs Contact:
Priority: low    
Version: devel   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-upgrade-tree.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-02 22:15:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stef Van Vlierberghe 2007-12-30 18:49:47 UTC
Description of problem :

The documentation shows a command to save the package list as :

rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH} > ~/old-pkglist.txt'

Obviously the single quote at the end is misplaced, and also a --qf option
should be followed by a '\n', otherwise the output is not suitable for use with
diff.

After correcting these two errors :

rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' > ~/old-pkglist.txt

Note that the error is multiplicated in the various translations.

Comment 1 Karsten Wade 2007-12-30 19:30:45 UTC
Good observations, thanks.  I'm not sure if/when Paul has an update to the F8
version planned, but such updates usually include time to update the
translations.  Fortunately, we might be able to just do the tweak in all the
translated versions, since that block is probably not a translated string.

Reassigning to package maintainer.

Comment 2 Paul W. Frields 2008-01-02 22:15:23 UTC
Fixed in CVS and to be published shortly.  Thanks for catching this problem.