Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] system updating issues?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Thu Apr 27, 2017 5:38 am    Post subject: [SOLVED] system updating issues? Reply with quote

I get these output during system updating - Please advise!
Code:
emerge -uavt --deep --changed-use --with-bdeps=y --complete-graph --keep-going @world
!!! Invalid news item: /usr/portage/metadata/news/2017-04-10-split-and-slotted-wine/2017-04-10-split-and-slotted-wine.en.txt
!!!   line 6: News-Item-Format: 2.0

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in reverse order:

Calculating dependencies /

!!! Problem resolving dependencies for dev-lang/php from @selected
... done!

!!! The ebuild selected to satisfy "dev-lang/php" has unmet requirements.
- dev-lang/php-7.0.15::gentoo USE="acl berkdb bzip2 cli crypt ctype exif fileinfo filter fpm gd gdbm hash iconv ipv6 json ldap mysql nls opcache phar posix readline session simplexml spell ssl tokenizer truetype unicode xml zlib -apache2 -bcmath -calendar -cdb -cgi -cjk -coverage -curl -debug -embed -enchant (-firebird) -flatfile -ftp -gmp -imap -inifile -intl -iodbc -kerberos -ldap-sasl -libedit (-libressl) -mhash -mssql -mysqli -oci8-instant-client -odbc -pcntl -pdo -phpdbg -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -sqlite -systemd -sysvipc -threads -tidy -wddx -webp -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    mysql? ( any-of ( mysqli pdo ) )

  The above constraints are a subset of the following complete expression:
    cli? ( exactly-one-of ( readline libedit ) ) truetype? ( gd ) webp? ( gd ) cjk? ( gd ) exif? ( gd ) xpm? ( gd ) gd? ( zlib ) simplexml? ( xml ) soap? ( xml ) wddx? ( xml ) xmlrpc? ( any-of ( xml iconv ) ) xmlreader? ( xml ) xslt? ( xml ) ldap-sasl? ( ldap ) mhash? ( hash ) phar? ( hash ) qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysqli ) sharedmem? ( !threads ) mysql? ( any-of ( mysqli pdo ) ) any-of ( cli cgi fpm apache2 embed phpdbg )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Also - according following news, need to change fstab - Please inform how find UUID?
Code:
2016-11-04-important_fstab_and_localmount_update
  Title                     Important fstab and localmount update
  Author                    William Hubbs <williamh@gentoo.org>
  Author                    Ian Stakenvicius <axs@gentoo.org>
  Posted                    2016-11-04
  Revision                  2

Recent updates to service scripts in OpenRC and (e)udev have removed the
requirement for udev to "settle" before its startup completes.  The
result of this is that services which used to wait for udev to finish
processing all kernel events will now start earlier.  One such service
is localmount.

If "/dev/disk/by-*" device paths are used for mount points in
fstab, it is possible that those symbolic links  will not exist when
localmount starts and attempts to mount them.

The recommended solution is to convert fstab from using
"/dev/disk/by-*" to the LABEL=, UUID=, PARTLABEL= or PARTUUID= syntax.
This syntax is supported directly by both util-linux and busybox's mount
commands and has no dependency on any device manager. More information
on this syntax can be found in the fstab(5) and mount(8) man pages.

To force the old behaviour, instead of converting fstab, you can add
rc_want="dev-settle" to /etc/conf.d/localmount or add udev-settle to the
sysinit runlevel.

_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Sun Apr 30, 2017 6:47 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16511
Location: here

PostPosted: Thu Apr 27, 2017 5:52 am    Post subject: Reply with quote

Portage tell you that if you have mysql use flag you need activate or mysqli or pdo use flag.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Thu Apr 27, 2017 6:52 am    Post subject: Reply with quote

I decided to unmerge php and wordpress (do not need it at athe moment) and now updating is running ok.
Is there easy way to convert "/dev/disk/by-*" to the LABEL=, UUID=, PARTLABEL= or PARTUUID= syntax, in fstab?
Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 766

PostPosted: Thu Apr 27, 2017 11:41 am    Post subject: Reply with quote

I don't know of any "easy" /etc/fstab manager.

Does your /etc/fstab actually have /dev/disk/by-* entries in it? Conversion is just noticing what the symlink name is, for each of your fstab entries in that style, and changing the entries to use the, for example "LABEL=" syntax. If you were using /dev/disk/by-label/[mylabel] syntax in your /etc/fstab, each of those would change from "/dev/disk/by-label/mylabel" to "LABEL=mylabel"

If you were using /dev/disk/by-uuid/, similar thing, except the change would be from "/dev/disk/by-uuid/myuuid" to "UUID=myuuid"

Those changes can be done just looking at /etc/fstab The labels and uuids aren't changing, just the syntax in /etc/fstab

I might, if I had a huge /etc/fstab (more than 20 or so entries), use "sed" to make the change.
Back to top
View user's profile Send private message
shrike
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2004
Posts: 114
Location: Closer to home

PostPosted: Thu Apr 27, 2017 12:28 pm    Post subject: Reply with quote

pmam,

As root use the command blkid to show LABELs and UUIDs. Then replace /dev/sd?? entries with LABEL=x or UUID=x in /etc/fstab file.

An example from my fstab:

Code:

UUID=5072a341-1f1e-4a2d-a272-939fa0a5e34a /boot        ext2    noauto,noatime     0 2


Regards,

shrike
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39027
Location: 56N 3W

PostPosted: Thu Apr 27, 2017 2:47 pm    Post subject: Reply with quote

pmam,

The problem occurs if your fstab entries point to a udev created symlink.
That symlink is created by udev every boot. The symlink may not exist when localmount runs.

Provided you do not reference symlinks in fstab there is nothing for you to do.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Fri Apr 28, 2017 8:29 am    Post subject: Reply with quote

Here my fstab:
Code:
/dev/sda6      /boot      ext4      defaults,noatime   0 2
/dev/sda7      none      swap      sw         0 0
/dev/sda8      /      ext4      noatime         0 1
/dev/sda9      /home      ext4      noatime         0 2

/dev/cdrom      /mnt/cdrom   auto      noauto,user      0 0
shm        /dev/shm        tmpfs        nodev,nosuid,noexec  0 0

As far as I know I do not use symlink in fstab -
I just followed Handbook - So nothing to do?

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Fri Apr 28, 2017 9:06 am    Post subject: Reply with quote

Regarding system updating: After running some packages,
I got some errors and suggestion to run emerge @preserved-rebuild - But here the output:
Code:
 emerge @preserved-rebuild

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.0".
(dependency required by "@preserved-rebuild" [argument])

_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16511
Location: here

PostPosted: Fri Apr 28, 2017 9:12 am    Post subject: Reply with quote

Code:
 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
...
emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.0".

Probably one of 2 news is 2016-12-06-ruby-20-removal (link).

EDIT: after these command a emerge -a --depclean is require (for remove ruby:2.0)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 766

PostPosted: Fri Apr 28, 2017 10:45 am    Post subject: Reply with quote

pmam,

Your fstab does not need to be adjusted according to he messaqe you'd asked about.
Your fstab does not have any /dev/disk/by-* entries
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Fri Apr 28, 2017 11:28 am    Post subject: Reply with quote

Quote:
Your fstab does not need to be adjusted according to he messaqe you'd asked about.
Your fstab does not have any /dev/disk/by-* entries

I thought it has to do to my fstab - Now I see it is regarding symbolic..

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1074

PostPosted: Sun Apr 30, 2017 6:43 am    Post subject: Reply with quote

Quote:
Probably one of 2 news is 2016-12-06-ruby-20-removal (link).

EDIT: after these command a emerge -a --depclean is require (for remove ruby:2.0)

I checked your link regarding ruby and found out that ruby21 is selected (this is the only available ruby ver I have). Then I run:
Code:
emerge --update --deep --with-bdeps=y --newuse @world
emerge --depclean
emerge @preserved-rebuild

Probably ruby 2.0 was somewhere in the system and after been removed by depclean, the system is ready... :)

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum