LINUXTNT Telegram 4535
⭐️ پیشگیری قبل از بحران با یک نکته‌ی آموزشی مهم

🔹 در توزیع‌های مبتنی بر دبیان هنگام نصب یا بروزرسانی گاهی با مشکلاتی مثل تداخل بسته‌ها، حذف ناخواسته‌ی نرم‌افزارها یا خطاهای نصب مواجه می‌شویم.
برای جلوگیری از این مشکلات، می‌توانیم از قابلیت شبیه‌سازی (Simulation) در ابزارهای apt و aptitude استفاده کنیم. این قابلیت باعث می‌شود قبل از انجام هر تغییری ببینید دقیقاً چه اتفاقی خواهد افتاد، بدون اینکه چیزی واقعاً نصب یا حذف شود.
### روش استفاده: تست قبل از نصب بسته

sudo apt install <package_name> -s
sudo aptitude install <package_name> -s

یا معادل آن:

sudo apt install <package_name> --simulate
sudo apt install <package_name> --dry-run


### تست قبل از بروزرسانی سیستم

sudo apt upgrade --simulate
sudo apt upgrade --dry-run
sudo apt upgrade -s


تست برای بروزرسانی کامل (که حتی تغییرات وابستگی‌ها را هم شامل می‌شود):

sudo apt full-upgrade -s
sudo apt full-upgrade --simulate

نویسنده: حسین سیلانی. آموزش های بیشتر در:
https://learninghive.ir
👍13🙏31🔥1



tgoop.com/linuxtnt/4535
Create:
Last Update:

⭐️ پیشگیری قبل از بحران با یک نکته‌ی آموزشی مهم

🔹 در توزیع‌های مبتنی بر دبیان هنگام نصب یا بروزرسانی گاهی با مشکلاتی مثل تداخل بسته‌ها، حذف ناخواسته‌ی نرم‌افزارها یا خطاهای نصب مواجه می‌شویم.
برای جلوگیری از این مشکلات، می‌توانیم از قابلیت شبیه‌سازی (Simulation) در ابزارهای apt و aptitude استفاده کنیم. این قابلیت باعث می‌شود قبل از انجام هر تغییری ببینید دقیقاً چه اتفاقی خواهد افتاد، بدون اینکه چیزی واقعاً نصب یا حذف شود.
### روش استفاده: تست قبل از نصب بسته

sudo apt install <package_name> -s
sudo aptitude install <package_name> -s

یا معادل آن:

sudo apt install <package_name> --simulate
sudo apt install <package_name> --dry-run


### تست قبل از بروزرسانی سیستم

sudo apt upgrade --simulate
sudo apt upgrade --dry-run
sudo apt upgrade -s


تست برای بروزرسانی کامل (که حتی تغییرات وابستگی‌ها را هم شامل می‌شود):

sudo apt full-upgrade -s
sudo apt full-upgrade --simulate

نویسنده: حسین سیلانی. آموزش های بیشتر در:
https://learninghive.ir

BY linuxtnt(linux tips and tricks)


Share with your friend now:
tgoop.com/linuxtnt/4535

View MORE
Open in Telegram


Telegram News

Date: |

Ng was convicted in April for conspiracy to incite a riot, public nuisance, arson, criminal damage, manufacturing of explosives, administering poison and wounding with intent to do grievous bodily harm between October 2019 and June 2020. Your posting frequency depends on the topic of your channel. If you have a news channel, it’s OK to publish new content every day (or even every hour). For other industries, stick with 2-3 large posts a week. The main design elements of your Telegram channel include a name, bio (brief description), and avatar. Your bio should be: With the sharp downturn in the crypto market, yelling has become a coping mechanism for many crypto traders. This screaming therapy became popular after the surge of Goblintown Ethereum NFTs at the end of May or early June. Here, holders made incoherent groaning sounds in late-night Twitter spaces. They also role-played as urine-loving Goblin creatures. ‘Ban’ on Telegram
from us


Telegram linuxtnt(linux tips and tricks)
FROM American