AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-501983

tcashin's questions

Martin Hope
tcashin
Asked: 2016-02-10 18:01:05 +0800 CST

如何升级到 HWE 12.04.5?

  • 1

我的系统:全新的 Dell OptiPlex XE2,戴尔预装了 12.04。

我通过更新管理器应用了所有安全更新。现在更新管理器告诉我这个:

亲爱的 Ubuntu 用户,您当前的硬件启用堆栈 (HWE) 将于 2015 年 4 月 30 日停止支持。 在此日期之后,系统关键部分的安全更新将不再可用。 我们建议您升级系统。 如果您在此升级后遇到任何问题,请使用标签“oem”在 askubuntu.com 上发布消息(您可以使用此链接:http://www.askubuntu.com/questions/ask?tags=oem)。对于更多信息,请参阅:

我单击升级按钮,我收到此错误:

包不存在。 检查包名称的拼写,并启用相应的存储库。 详细信息:软件包 xserver-xorg-lts-trusty 不可用

如何解决此问题并将我的系统升级到最新的 12.04.5?

/etc/apt/sources.list


# deb cdrom:[Ubuntu 12.04 _Precise_ - Build amd64 LIVE Binary 20130203-13:50]/ precise main

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

/etc/apt/sources.list.d/precise-dell.list

deb http://dell.archive.canonical.com/updates/ precise-dell public
deb-src http://dell.archive.canonical.com/updates/ precise-dell public

/etc/apt/sources.list.d/precise-oem-sp1.list

deb http://oem.archive.canonical.com/updates/ precise-oem-sp1 public
deb-src http://oem.archive.canonical.com/updates/ precise-oem-sp1 public

oem
  • 2 个回答
  • 217 Views
Martin Hope
tcashin
Asked: 2016-02-05 22:43:44 +0800 CST

如何检查脚本是通过命令行执行还是双击执行?

  • 11

如何确定脚本是从命令行调用还是通过双击文件管理器 (Nautilis) 调用的?

如果是前者,当脚本完成时我仍然有一个命令提示符,但是如果它被双击(或通过 .desktop 文件执行),脚本会在一个窗口中执行然后消失。我希望窗口在命令提示符下保持打开状态。

我认为脚本可以进行此检查,并且要么什么都不做 - 如果从命令行调用 -exec如果通过双击或 .desktop 调用,则在最后执行 bash。

使用方法检查是否交互或 tty 尚未成功。

command-line
  • 4 个回答
  • 7603 Views
Martin Hope
tcashin
Asked: 2016-02-05 15:56:22 +0800 CST

如何通过 cmd 行将系统时间设置为普通用户?

  • 4

我需要能够使用“日期”作为普通用户设置系统时间。

我有一台未联网的电脑连接到 GPS 接收器,想将时间同步到 GPS 时间。需要通过脚本完成,并且不需要密码提示。

认为我可以更改日期 cmd 的权限以允许任何用户执行。这可能吗?我该怎么做?还有其他建议吗?

更新 使用 sudo 是可以接受的,只是不需要密码提示。上面编辑的句子。

permissions
  • 1 个回答
  • 10718 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve