Εμφάνιση 6.586-6.600 από 7206
-
06-05-21, 12:19 Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6586Dealing with pricks, is my speciality.
Linux all the way.
Open source all the way.
Fighting against telemetry, data harvesting, tracking, ads all the way.
For some people, ignorance is bliss.
-
06-05-21, 13:09 Απάντηση: Το νήμα του Gentoo, version 1.0 #6587
Το --deep το αποφεύγω γιατί συνήθως προκαλεί ζημιά αντί να βοηθάει. Ο μόνος λόγος να το χρησιμοποιήσεις είναι αν έχεις τεράστια ανάγκη για χώρο.
Αν δεν βάλεις το deep, η λειτουργία είναι ότι κρατείται οτιδήποτε υπάρχει στο portage tree. Οπότε αν έβαλες ένα πρόγραμμα, δεν σου άρεσε, και το έβγαλες, αυτό δεν θα αφαιρεθεί και θα τρώει τσάμπα χώρο. Ένα πρόγραμμα που έχει πολλές εκδόσεις στο tree θα παραμείνει και θα τρώει χώρο χωρίς να το χρειάζεσαι (πχ ενώ αναβάθμισες στον 10άρη gcc, θα παραμείνουν και τα πακέτα / distfiles για τον 9άρη, 8άρη, 7άρη, κτλ επειδή υπάρχουν σαν ebuild στο tree).
Με το deep θα παραμείνουν μόνο οι εκδόσεις που έχεις εγκατεστημένες οπότε φαίνεται σαν καλή ιδέα στο πρώτο άκουσμα γιατί γλυτώνεις χώρο αλλά θα χάσεις χρόνο σε επανα-μεταγλωττίσεις (για το eclean-package). Σκέψου ότι αναβαθμίζεις σε νέα έκδοση ενός πακέτου, και λίγο μετά βγαίνει ένα bug και αυτό γίνεται masked. Χωρίς το deep, έχει παραμείνει η προηγούμενη έκδοση του πακέτου οπότε θα μπει σαν binary χωρίς να παιδεύεσαι. Το deep θα την έχει σβήσει οπότε θα πρέπει να το ξαναχτίσεις. Αν έχεις ρυθμίσει την portage να μην κρατάει τις build-time εξαρτήσεις, τότε και αυτές θα σβήνονται κάθε φορά που τρέχεις το deep και θα πρέπει κάθε φορά να τις ξαναχτίσεις, κτλ."I like offending people, because I think people who get offended should be offended" - Linus Torvalds
"Παλιά είχαμε φτωχούς οι οποίοι ζούσανε σε φτωχογειτονιές. Τώρα, η οικονομικά δυσπραγούσα τάξη
κατέχει στέγες υποδεέστερης ποιότητας σε υποβαθμισμένα αστικά κέντρα" - George Carlin
Γα.... την πολιτική ορθότητα.
-
06-05-21, 13:12 Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6588Dealing with pricks, is my speciality.
Linux all the way.
Open source all the way.
Fighting against telemetry, data harvesting, tracking, ads all the way.
For some people, ignorance is bliss.
-
06-05-21, 15:49 Απάντηση: Το νήμα του Gentoo, version 1.0 #6589
-
06-05-21, 17:38 Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6590Dealing with pricks, is my speciality.
Linux all the way.
Open source all the way.
Fighting against telemetry, data harvesting, tracking, ads all the way.
For some people, ignorance is bliss.
-
06-05-21, 18:49 Απάντηση: Το νήμα του Gentoo, version 1.0 #6591
Python 3.9 σε λίγο ως default:
2021-05-05-python3-9
Title Python 3.9 to become the default on 2021-06-01
Author Michał Górny <mgorny@gentoo.org>
Posted 2021-05-05
Revision 1
We are planning to switch the default Python target of Gentoo systems
on 2021-06-01, from Python 3.8 to Python 3.9. If you have not changed
the values of PYTHON_TARGETS or PYTHON_SINGLE_TARGET, the change will
have immediate effect on your system and the package manager will try
to switch automatically on the next upgrade following the change.
If you did change the values, prefer a safer approach or have problems
with the update, read on.
Please note that the default upgrade method switches packages to the new
Python versions as they are rebuilt. This means that all interdependent
packages have to support the new version for the upgrade to proceed,
and that some programs may temporarily fail to find their dependencies
throughout the upgrade (although programs that are already started
are unlikely to be affected).
If you have PYTHON_TARGETS or PYTHON_SINGLE_TARGET declared
in make.conf, please remove these declarations as they will interfere
with the package.use samples provided below. Using make.conf for Python
targets is discouraged as it prevents package defaults from applying
when necessary. This news item assumes using /etc/portage/package.use
or your package manager's equivalent file for configuration.
At this point, you have a few configuration options to choose from:
1. If you wish Python upgrades to apply automatically, you can remove
PYTHON_TARGETS and PYTHON_SINGLE_TARGET declarations. When
the defaults change, your package manager should handle the upgrade
automatically. However, you may still need to run the update
commands if any problems arise.
2. If you wish to defer the upgrade for the time being, you can
explicitly set the old values in package.use.
3. If you wish to force the upgrade earlier, you can explicitly set
the new values and run the upgrade commands.
4. If you wish to use a safer approach (i.e. less likely to temporarily
break packages during the upgrade), you can perform a multi-step
upgrade as outlined below.
5. Finally, you can use an arbitrary combination of PYTHON_TARGETS
and PYTHON_SINGLE_TARGET.
Deferring the upgrade
=====================
To defer the upgrade, explicitly set the old targets:
*/* PYTHON_TARGETS: -* python3_8
*/* PYTHON_SINGLE_TARGET: -* python3_8
This will enforce Python 3.8 and block any future updates. However,
please note that this solution will only be suitable for a few more
months and you will eventually need to perform the migration.
Forcing the upgrade
===================
To force the upgrade earlier, explicitly set Python 3.9 targets:
*/* PYTHON_TARGETS: -* python3_9
*/* PYTHON_SINGLE_TARGET: -* python3_9
However, it is important to remember to remove this after the defaults
change, as it will interfere with the automatic switch to the next
Python version in the future.
Safer upgrade procedure
=======================
A safer approach is to add Python 3.9 support to your system first,
and only then remove Python 3.8. However, note that involves two
rebuilds of all the affected packages, so it will take noticeably
longer.
First, enable both Python 3.8 and Python 3.9, and then run the upgrade
commands:
*/* PYTHON_TARGETS: -* python3_8 python3_9
*/* PYTHON_SINGLE_TARGET: -* python3_8
Then switch PYTHON_SINGLE_TARGET and run a second batch of upgrades:
*/* PYTHON_TARGETS: -* python3_8 python3_9
*/* PYTHON_SINGLE_TARGET: -* python3_9
Finally, switch to the final version and upgrade:
*/* PYTHON_TARGETS: -* python3_9
*/* PYTHON_SINGLE_TARGET: -* python3_9
You may wish to remove the target overrides after the defaults switch.
Alternatively, you can keep them to block the next automatic upgrade
to Python 3.10, and upgrade manually then.
Upgrade commands
================
The Python 3.8 cleanup requires that Python 3.8 is removed from complete
dependency trees in batch. If some of the installed packages using
an older Python version are not triaged for the upgrade, the package
manager will throw dependency conflicts. This makes it important that
the upgrade is carried via a --deep --changed-use @world upgrade,
as well as that any stray packages are removed prior to it, e.g.:
emerge --depclean
emerge -1vUD @world
emerge --depclean
-
06-05-21, 18:56 Απάντηση: Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6592
Όχι, τα περιττά πακέτα απλά υπάρχουν χωρίς να χρειάζονται, δεν δημιουργούν πρόβλημα. Αν τα dependencies όμως είναι λανθασμένα, το emerge --depclean μπορεί να αφαιρέσει πακέτο που είναι από λάθος δηλωμένο ως άχρηστο, οπότε εκτός από το ότι μπορεί να σπάσεις το σύστημά σου, στο επόμενο emerge θα πρέπει να εγκατασταθεί ξανά.
-
06-05-21, 19:02 Re: Απάντηση: Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6593Dealing with pricks, is my speciality.
Linux all the way.
Open source all the way.
Fighting against telemetry, data harvesting, tracking, ads all the way.
For some people, ignorance is bliss.
-
06-05-21, 19:06 Απάντηση: Re: Απάντηση: Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6594
-
06-05-21, 19:34 Re: Απάντηση: Re: Απάντηση: Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6595
-
06-05-21, 21:04 Απάντηση: Το νήμα του Gentoo, version 1.0 #6596
Πως μπορώ να εγκαταστήσω αρχείο .deb; Θέλω να βάλω το jriver και δυστυχώς δίνουν μόνο αυτό. Ούτε καν .rpm.
-
06-05-21, 21:17 Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6597
Κάνεις extraction το deb, μετά κάνεις extraction το extracted αρχείο. Το περιεχόμενο που θα βρίσκεται στο data dir, είναι αυτό που σ'ενδιαφέρει.
Το πετάς στο /opt και δίνεις ένα chmod +x στο αρχείο που προορίζεται να είναι το executable.
Έτσι τρέχω ότι χρειάζομαι από deb πακέτα.
Σαφώς και δεν είναι προβλεπόμενη διαδικασία. Αλλά γίνεται η δουλειά.
Edit. Βλέπω υπάρχει σχετικό νήμα στο gentoo forum όπου ακολουθείται παραπλήσια διαδικασία μ'αυτή που προτείνω.
Ρίξε μια ματιάDealing with pricks, is my speciality.
Linux all the way.
Open source all the way.
Fighting against telemetry, data harvesting, tracking, ads all the way.
For some people, ignorance is bliss.
-
06-05-21, 21:27 Απάντηση: Το νήμα του Gentoo, version 1.0 #6598
Το είχα διαβάσει αλλά μπελάς. Θα στήσω MPD για να πορευτώ. Τουλάχιστον θα έχω και 2-3 εναλλακτικά UI.
-
06-05-21, 21:35 Re: Απάντηση: Το νήμα του Gentoo, version 1.0 #6599
-
06-05-21, 22:51 Απάντηση: Το νήμα του Gentoo, version 1.0 #6600
Καθόλου. Μια χαρά παίζει με τα προτεινόμενα. Βέβαια αν θες τίποτα περίεργο τότε ναι. Αλλά τώρα δεν έκανα τίποτα. Μέχρι και τους φακέλους στο /var είχε φτιάξει. Πέταξα μερικούς φακέλους και μέχρι να σηκώσω το ario είχε κάνει το scan.
Παρόμοια Θέματα
-
Mozilla: Διαθέσιμη η alpha version του Firefox Mobile
Από nm96027 στο φόρουμ ΕιδήσειςΜηνύματα: 24Τελευταίο Μήνυμα: 27-12-08, 17:40 -
Σχετικά με τη firmware version του router...
Από DSLaManiaC στο φόρουμ ADSLΜηνύματα: 10Τελευταίο Μήνυμα: 09-05-08, 10:34 -
Γκρινια: Νημα Υποστηριξης
Από Reef στο φόρουμ The fun section...Μηνύματα: 109Τελευταίο Μήνυμα: 19-03-07, 10:34 -
Κυκλοφόρησε η final version του Firefox 2
Από Whiteyez στο φόρουμ Software γενικάΜηνύματα: 85Τελευταίο Μήνυμα: 23-12-06, 05:52
Bookmarks