Re: set the tmp file for sed??
On 09/26/2015 04:05 PM, Patrick O'Callaghan wrote: On Sat, 2015-09-26 at 15:30 -0600, jd1008 wrote: On 09/26/2015 02:39 PM, bruce wrote: Hey. I know. This is probably really basic/subtle, but 'net searches are coming up empty. Doing testing of 'sed' it's generating tmp files in the base directory. Is there a way that the 'sed' tmp dir can be set to '/tmp'. A sample sed cmd would be sed -i '/foo/cat/g' abc.dat sed -i '/foo/d' abc.dat thanks.. One minor error sed -i 's/foo/cat/g' abs.dat ditto for abs.dat Man page says: s/regexp/replacement/ From "info sed": The `s' command can be followed by zero or more of the following FLAGS: `g' Apply the replacement to _all_ matches to the REGEXP, not just the first. poc Nothing wrong with the trailing g. Nor did I say it was the error. The trailing g says make the change on every match in the line. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: set the tmp file for sed??
On Sat, 2015-09-26 at 15:30 -0600, jd1008 wrote: > > On 09/26/2015 02:39 PM, bruce wrote: > > Hey. > > > > I know. This is probably really basic/subtle, but 'net searches are > > coming up empty. > > > > Doing testing of 'sed' it's generating tmp files in the base > > directory. Is there a way that the 'sed' tmp dir can be set to > > '/tmp'. > > > > A sample sed cmd would be > > > > sed -i '/foo/cat/g' abc.dat > > sed -i '/foo/d' abc.dat > > > > thanks.. > One minor error > > sed -i 's/foo/cat/g' abs.dat > ditto for abs.dat > > Man page says: > > s/regexp/replacement/ From "info sed": The `s' command can be followed by zero or more of the following FLAGS: `g' Apply the replacement to _all_ matches to the REGEXP, not just the first. poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: xmgrace in fc21
On Friday 25 September 2015 23:09:56 Patrick Dupre wrote: > Hello, > > when I run xmgrace/grace in fc21 and fc22. it slows down the machine very > effciently. > Is it an issue with the graphics library? Xmu > > Thank. Hi Patrick, could you please fill a bug report about this? I am running f23 and I don't see this. I see some weird behavior, with the menus for example, but no slowness... Regards, -- José Abílio -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: set the tmp file for sed??
On 09/26/2015 02:39 PM, bruce wrote: Hey. I know. This is probably really basic/subtle, but 'net searches are coming up empty. Doing testing of 'sed' it's generating tmp files in the base directory. Is there a way that the 'sed' tmp dir can be set to '/tmp'. A sample sed cmd would be sed -i '/foo/cat/g' abc.dat sed -i '/foo/d' abc.dat thanks.. One minor error sed -i 's/foo/cat/g' abs.dat ditto for abs.dat Man page says: s/regexp/replacement/ -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: set the tmp file for sed??
On 26Sep2015 16:39, bruce wrote: I know. This is probably really basic/subtle, but 'net searches are coming up empty. Doing testing of 'sed' it's generating tmp files in the base directory. Is there a way that the 'sed' tmp dir can be set to '/tmp'. A sample sed cmd would be sed -i '/foo/cat/g' abc.dat sed -i '/foo/d' abc.dat I'm presuming you're using GNU sed (from the -i); if not, please say so. IIRC, sed -i makes a temp file with the new content, then renames it to the original. This allows for an atomic in place edit, as opposed to a rewrite which will leave the file incomplete for a period (or might fail half way through, etc). In order to ensure that a rename can be done the temp fie has to be on the same filesystem as the original, and the simple way of doing that reliably is to make the temp file in the same directory as the original. If you need the temp file elsewhere (eg for size) you could use a wrapper. For example, bsed (disclaimer: yes, this is mine): https://bitbucket.org/cameron_simpson/css/src/tip/bin/bsed which does a rewrite. It honours the $TMPDIR environment variable for the temp directory. Cheers, Cameron Simpson -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
set the tmp file for sed??
Hey. I know. This is probably really basic/subtle, but 'net searches are coming up empty. Doing testing of 'sed' it's generating tmp files in the base directory. Is there a way that the 'sed' tmp dir can be set to '/tmp'. A sample sed cmd would be sed -i '/foo/cat/g' abc.dat sed -i '/foo/d' abc.dat thanks.. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Can not install mariadb Error: Transaction check error: ....
Thanks, that worked On Sat, Sep 26, 2015 at 8:07 AM, Jon Ingason wrote: > Den 2015-09-26 kl. 16:42, skrev Rich Emberson: > > # dnf install mariadb mariadb-server > > Last metadata expiration check performed 0:19:25 ago on Sat Sep 26 > > 07:14:08 2015. > > Dependencies resolved. > > > > > Package Arch Version > > Repository Size > > > > > Installing: > > MariaDB-common x86_64 10.0.21-1.fc20 > > mariadb43 k > > MariaDB-shared x86_64 10.0.21-1.fc20 > > mariadb 1.2 M > --^^^ > > You need to disable repository "mariadb". > > -- > Regards > > Jon Ingason > > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Can not install mariadb Error: Transaction check error: ....
Den 2015-09-26 kl. 16:42, skrev Rich Emberson: > # dnf install mariadb mariadb-server > Last metadata expiration check performed 0:19:25 ago on Sat Sep 26 > 07:14:08 2015. > Dependencies resolved. > > Package Arch Version > Repository Size > > Installing: > MariaDB-common x86_64 10.0.21-1.fc20 > mariadb43 k > MariaDB-shared x86_64 10.0.21-1.fc20 > mariadb 1.2 M --^^^ You need to disable repository "mariadb". -- Regards Jon Ingason -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Can not install mariadb Error: Transaction check error: ....
Seems like a rather fundmental problem: $ uname -a Linux medusa 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ rpm -qa --qf '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}\n' | grep -i mariadb # dnf install mariadb mariadb-server Last metadata expiration check performed 0:19:25 ago on Sat Sep 26 07:14:08 2015. Dependencies resolved. Package Arch Version Repository Size Installing: MariaDB-common x86_64 10.0.21-1.fc20 mariadb 43 k MariaDB-shared x86_64 10.0.21-1.fc20 mariadb 1.2 M mariadb x86_64 1:10.0.21-1.fc22 updates 6.1 M mariadb-common x86_64 1:10.0.21-1.fc22 updates 74 k mariadb-errmsg x86_64 1:10.0.21-1.fc22 updates 199 k mariadb-server x86_64 1:10.0.21-1.fc22 updates 18 M perl-DBD-MySQL x86_64 4.031-1.fc22 fedora 151 k Transaction Summary Install 7 Packages Total size: 26 M Installed size: 132 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] mariadb-10.0.21-1.fc22.x86_64.rpm: Already downloaded [SKIPPED] mariadb-common-10.0.21-1.fc22.x86_64.rpm: Already downloaded [SKIPPED] mariadb-server-10.0.21-1.fc22.x86_64.rpm: Already downloaded [SKIPPED] perl-DBD-MySQL-4.031-1.fc22.x86_64.rpm: Already downloaded [SKIPPED] mariadb-errmsg-10.0.21-1.fc22.x86_64.rpm: Already downloaded [SKIPPED] MariaDB-10.0.21-fedora20-x86_64-shared.rpm: Already downloaded [SKIPPED] MariaDB-10.0.21-fedora20-x86_64-common.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache till the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/lib64/mysql/plugin/dialog.so conflicts between attempted installs of mariadb-common-1:10.0.21-1.fc22.x86_64 and MariaDB-common-10.0.21-1.fc20.x86_64 file /usr/lib64/mysql/plugin/mysql_clear_password.so conflicts between attempted installs of mariadb-common-1:10.0.21-1.fc22.x86_64 and MariaDB-common-10.0.21-1.fc20.x86_64 Error Summary - # If I execute 'dnf clean packages' and try again ... downloads occur and then the same error condition. How to eliminate the plugin conflicts between mariadb-common-1:10.0.21-1.fc22.x86_64 and MariaDB-common-10.0.21-1.fc20.x86_64 thanks Richard -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: broken packages
On Sat, 2015-09-26 at 13:45 +0100, Patrick O'Callaghan wrote: > Very easy: just edit the repo file and change "enabled" to 1. I mean of course "enabled=0". PEBKAC :-) poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: broken packages
On Sat, 2015-09-26 at 14:15 +0200, Diogene Laerce wrote: > > Le 26/09/2015 14:00, Patrick O'Callaghan a écrit : > > On Sat, 2015-09-26 at 11:46 +0200, Diogene Laerce wrote: > > > A precision if possible : I saw "dnf list extras" which list > > > all packages which do not belong to any repository.. I actually > > > ran it and found a bunch of them as follow : > > > > > > http://pastebin.com/6Tb3nUSz > > > > > > So if they do not come from any repository.. Where do they come > > > from ? > > Could be from a repo you have since disabled, or RPMs you > > downloaded > > from somewhere. > > Actually that's my point : I never installed anything except for > some groups or packages found in the repositories cache, and > a fortiori, certainly not any kernel packages. I hadn't looked at your list before replying, but now I see that these are pretty much standard packages from standard repos. I get a similar list, so it would appear that "dnf list extras" doesn't do what it claims to do. I don't know if that's a bug in dnf or a bug in the documentation, but either way it might be worth reporting to BZ. > I didn't disabled any repository either, I wouldn't even know > how to do this. Very easy: just edit the repo file and change "enabled" to 1. poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: broken packages
Le 26/09/2015 14:00, Patrick O'Callaghan a écrit : > On Sat, 2015-09-26 at 11:46 +0200, Diogene Laerce wrote: >> A precision if possible : I saw "dnf list extras" which list >> all packages which do not belong to any repository.. I actually >> ran it and found a bunch of them as follow : >> >> http://pastebin.com/6Tb3nUSz >> >> So if they do not come from any repository.. Where do they come >> from ? > Could be from a repo you have since disabled, or RPMs you downloaded > from somewhere. Actually that's my point : I never installed anything except for some groups or packages found in the repositories cache, and a fortiori, certainly not any kernel packages. I didn't disabled any repository either, I wouldn't even know how to do this. Kind regards, -- “One original thought is worth a thousand mindless quotings.” “Le vrai n'est pas plus sûr que le probable.” Diogene Laerce signature.asc Description: OpenPGP digital signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: broken packages
On Sat, 2015-09-26 at 11:46 +0200, Diogene Laerce wrote: > A precision if possible : I saw "dnf list extras" which list > all packages which do not belong to any repository.. I actually > ran it and found a bunch of them as follow : > > http://pastebin.com/6Tb3nUSz > > So if they do not come from any repository.. Where do they come > from ? Could be from a repo you have since disabled, or RPMs you downloaded from somewhere. poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: broken packages
Le 24/09/2015 18:33, Matthew Miller a écrit : > On Thu, Sep 24, 2015 at 06:20:28PM +0200, Diogene Laerce wrote: >> I couldn't find any command to fix broken packages in the >> dnf man. Is there any ? Does anyone knows the proper way >> to fix broken dependencies in fedora 22 ? > > dnf repoquery --unsatisfied will list packages with broken > dependencies, but leaves what to do about them up to you. See also > http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#changes-in-dnf-plugins-compared-to-yum-utilities Ok.. So you mean no. :) Last update solved the issues though. A precision if possible : I saw "dnf list extras" which list all packages which do not belong to any repository.. I actually ran it and found a bunch of them as follow : http://pastebin.com/6Tb3nUSz So if they do not come from any repository.. Where do they come from ? Thank you, -- “One original thought is worth a thousand mindless quotings.” “Le vrai n'est pas plus sûr que le probable.” Diogene Laerce signature.asc Description: OpenPGP digital signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org